Whether you need a high-quality image for print, or something to add to a Power Point slide deck or website, GAUSS provides tools that make interactive graphics editing and export simple. GAUSS shows you exactly what the exported graph will look like ahead of time, so you can get the image you want the first time.
Create a graph
For this tutorial we will use one of the GAUSS example files to create a graph. Go to the GAUSS command prompt (program input/output window) and enter:
This should create a graph that looks like the image below, on the GAUSS graphics page.
Export the Graph
Open the Graph Settings Window
Our goal for this tutorial is to create a 640 pixel wide image to add to the end of this tutorial. Our first step will be to open the GAUSS graphics editor, by selecting "View->Graph Settings" from the main GAUSS menu.
Once the Graph Settings window is open, we will need to click the canvas (or the background outside of the graph) as shown below:
Resize the graph
After clicking the canvas, the Graph Settings window will switch from showing graph settings (line color, title font, etc) to showing canvas settings. We will use the canvas settings to size our graph. By default, graphs in GAUSS are sized dynamically. This means that they take up as much room as is available in the window. To specify a particular size for the graph, we need to first set the graph to be a fixed size, by clicking the 'Fixed Size' checkbox. We will also want to change the width and the height independently of each other, so we will uncheck 'Fixed Ratio'.
To change the graph size, double-click the number next to width and enter the desired value--in this case 640 pixels.
Repeat the same for the desired height. We will set the height to 400 pixels. Now you will see exactly what the exported graph will look like.
Make final adjustments
The graph looks good, but we can make it better with a couple of changes. Let's click and drag the legend to the open space on the left top of the graph.
Finally we will make the title font a little larger:
- Click inside the graph to switch from canvas to graph settings:
- Double-click the current font for the title (Verdana 10 in this case). Then select the new size, 14 pts:
Export the graph
Once we have made all the final adjustments to the graph, select 'File->Export graph' from the main GAUSS menu:
Then using your operating system's windows: choose a name, file type, and folder in which to save the file.
After following the steps above, you should end up with a graph that looks similar to this: