Aptech Systems, Inc. Worldwide Headquarters
Aptech Systems, Inc.
2350 East Germann Road, Suite #21
Chandler, AZ 85286
Ready to Get Started?
For Pricing and Distribution
Training & Events
Step-by-step, informative lessons for those who want to dive into GAUSS and achieve their goals, fast.
Have a Specific Question?
Q&A: Register and Login
Premier Support and Platinum Premier Support are annually renewable membership programs that provide you with important benefits including technical support, product maintenance, and substantial cost-saving features for your GAUSS System or the GAUSS Engine.
Join our community to see why our users are considered some of the most active and helpful in the industry!
Where to Buy
Available across the globe, you can have access to GAUSS no matter where you are.
Recent Tagsapplications character vectors CML CMLMT Constrained Optimization datasets dates dlibrary dllcall error error handling errors Excel FANPACMT file i/o floating network GAUSS Engine graphics GUI hotkeys installation Java API license licensing linux loading data matrices matrix matrix manipulation Maxlik MaxLikMT Memory Optmum output PQG graphics proc procs RAM random numbers string functions strings structures threading Time Series writing data
Time Series 2.0 MT
Find out more now
Time Series MT 2.1
How to insert a pause between displaying of graphs
I have a program that displays a few graphics in sequence. I would like to have a short pause to give me time to view each one. How can I accomplish this?
You have a couple of options for inserting pauses between the displaying of graphics or printing of output.
1. You can insert a pause for a specified number of seconds with the sleep command:
//Draw first graph plotXY(x, y); //Pause for 2 seconds sleep(2); //Draw second graph plotXY(x2, y2);
2. If you would like your graph or data to be displayed until you press a key, you can do that with the GAUSS keyw command:
k = 0; print "press any key to display the next graphic"; do until k != 0; k = keyw(); endo;
When your code reaches the line “k = keyw()”, a red cursor will be displayed in the program input/output window and the program will pause until you enter a key in the program input/output window.