Size of individual cell graphs in subplot


I am using a subplot to show multiple histograms on one page, but my problem is that the bottom part of each graph is cut off (rather than the graph being printed smaller, i.e. "zoomed out"). How can I change this? I am already using the smallest possible font size.

Also I would like to display the y-axis in the middle of the histogram whenever the data is centered around 0, but right now it is still on the left-hand side.

Thank you!

5 Answers


In cases where the axis label text (or each of the subplots) would have considerable overlap, parts of it might not display as you are describing. The solution for this is to increase the size of the graph canvas. You can do this interactively in GAUSS by

Open the GAUSS 'Graph Settings' Window

a. On the GAUSS 'Graphics Page', select 'View-Graph Settings' from the main application menu.
b. By default the 'Graph Settings' Window will be set to show graph properties (line color, style, title font, etc). You will notice that if you now click each of the subplots, the clicked subplot will have a highlighted border and the 'Graph Settings' will be for this particular subplot. To select 'Graph Canvas' settings, click the background just outside of one of the subplots.

You should now see the 'Canvas Settings' in the 'Graph Settings' Window. The first section is titled 'Canvas Size'. Here you should

a. Select 'Fixed Size'.
b. Unselect 'Fixed Ratio'.
c. Then set 'Width' and 'Height' to a larger size that will accommodate your graph.

If you exporting a graph during a program run with plotSave, you can enter the size you would like the graph to be exported as, as an input to plotSave.

With respect to your second question, there is not currently a method in GAUSS to place the Y-Axis inside the plot.


Hi! A very late follow up to this question.

For some subplots, I was able to solve the problem by changing the size of cells in plotSave. This is the case whenever different cells within the subplot PARTIALLY overlapped.

However, there are some subplots where they overlap COMPLETELY. In other words, the entire previous cell disappears. In an 8*1 subplot, it may leave only the plot in the last (8th) cell because all other cells recursively covered up the previous cell. In a 9*9 subplot, it only leaves the last row of cells (73-81). I cannot find the pattern wherein the mistake lies. No matter how large I make the graph with plotSave, I cannot get the subplot to display all figures correctly. The problem occurs regardless of whether I make each cell 500*250 px or 2000*1000px for example. The only solution is to reduce the dimensions to something like 4*4. Is there a limit on the maximum number of cells in a subplot (since this occurs with large dimensions of 7*7 and above), because it is not like I am trying to draw graphs that are too large?

Regarding the suggestion to change Graph Setting... Unfortunately I cannot do this. I am working on a university computer and the changes I make to the settings (fixed size...) are not saved and keep resetting to the original settings.

Where might I be going wrong here?


I believe that the problem you are having is because plotSave does not run until AFTER the graph is done being created. By this time, the overlapping panel problem has already occurred.

There is not a maximum number of graphic panels, but there is a minimum size for the graphic panels. GAUSS version 18 has a function plotCanvasSize which will set the size of the entire graph canvas BEFORE the graph is drawn, which should solve your problem.


Thank you very much. That makes sense - the panels already overlap in the graph tab (and not just in the final saved .jpg file).

Is there any way of circumventing the GAUSS 18 solution since I can currently only work with version 17?


For an older version, you will have to manually increase the canvas size as described in the answer to this original question. From the Graphics Page, select "View" > "Graph Settings". Then click outside the outside the graph to bring up the canvas editing controls.

You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 14 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy