Aptech Systems, Inc. Worldwide Headquarters
Mailing Address:
PO Box 250
Black Diamond, WA 98010 USAStreet Address:
30741 Third Avenue #160
Black Diamond, WA 98010 USAPhone: 360.886.7100
FAX: 360.886.8922Ready to Get Started?
For Pricing and Distribution
Industry Solutions
Products
Resources
Support
Training & Events
Want more guidance while learning about the full functionality of GAUSS and its capabilities? Get in touch for in-person training or browse additional references below.
Tutorials
Step-by-step, informative lessons for those who want to dive into GAUSS and achieve their goals, fast.
Have a Specific Question?
Get a real answer from a real person
- Need Support?
Q&A: Register and Login
Support Plans
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.
User Forums
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 Tags
applications character vectors CMLMT covariance matrix dates dlibrary dllcall ECDF Editor error handling errors floating network GAUSS Engine Geometric mean graphics GUI hardware histogram hotkeys if statements installation Java API linux localization Matlab convert matlab translation matrices matrix initialization matrix manipulation Maxlik MaxLikMT Memory output pgraph graph PQG graphics RAM random numbers RedHat 6.1 simulation string functions strings threading threads loops Time Series writing dataRecent Questions
Features
Resources
draw two histograms together using hist() ?
0
Is there something like plotAddHist() for hist()?
I guess plotHist with plotAddHist() will let me draw two histograms together. However with plotHist(), I cannot use fonts such as simgrma and also I find it hard to control the axis compared hist() command. Also saving in .eps file seems easier with hist(). I am having hard time figuring out how to draw two histograms together with hist() command.
1 Answer
0
Let’s first look at the problem’s you are having with plotHist.
- Controlling the axis: Here is a link to a procedure that you can use to control the height and width of the axis for histograms (or any 2-D plot type in GAUSS 12).
- As to fonts, GAUSS 12 will allow you to use ANY font installed on your machine. Your computer should have nearly 100 to choose from.
- To export a graph drawn with the plotHist() command to EPS, you have two options:
- From the File Menu at the top of the graphics page, you can select: File->Export Graph and that will bring up a window to choose a name for the file, the image type you would like (EPS, PNG, TIFF, PDF, JPEG, etc) and also allow you to scale the size of your stored image if you choose.
- Use the plotSave command, which will save your last drawn graph to the file type of your choosing like this:
- ‘grphSz’ indicates the size in centimeters (width, height) you would like your graph to be saved as.
plotHist(a, b); grphSz = { 30, 18 }; plotSave("mygraphfilename.eps", grphSz);

