Aptech Systems, Inc. Worldwide Headquarters
Aptech Systems, Inc.
2350 East Germann Road, Suite #21
Chandler, AZ 85286
Ready to Get Started?
Request Quote & Product Information
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
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 optimization Optmum output PQG graphics 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
graphprt in mac
prt_title="-cf=" $+ "s_"$+str_s$+"_bart_Bernoulli_tt_"$+str_t$+"_b_" $+ strb $+"_p_"$+strp$+".eps" $+" -c=1 -po=l -q"; graphprt(prt_title); xy(t_stat_withoutmissing,t_stat_withoutmissing~t_stat_withmissing); pause(5);
When I run above code in Window then graphs are saved and also the graph window closes before another graph pops up. However when I run this code in MAC graphs are saved but the graph windows never closes. If I draw like 50 graphs then all graph windows are opened until I close them one by one. I have to draw and save a lot of graphs and I was wondering how I can change the code above and let the graph windows close by itself. Thank you!
If you are using version 11 or newer of GAUSS for Mac, you can choose to have the PQG graphics viewer reuse the same graph window for all subsequent graphs. This will leave you with one graph window instead of 50.
To enable this, you need to make a change to your pgraph.dec file. This file is in your GAUSSHOME/src directory. It should be around line 494 and 495 (may be slightly different for different versions. Inside of the #ifUNIX block (this applies to Mac), change:
declare string _pvwrmode = "m"; declare string _pvwrcomm = "no";
declare string _pvwrmode = "s"; declare string _pvwrcomm = "yes";
For _pvwrmode "m" means create multiple graph windows, while "s" means reuse a single graph window. For _pvwrcomm "no" means do not communicate with the graphic window, "yes" means maintain communication between the main GAUSS window and the graphics viewer.