Export Graph Dialog

This dialog is activated by selecting the Export Graph command from the File Menu. The command appears in the file menu whenever a graph window is selected.

The file Name as well as the Path where the image will be saved can be chosen by pressing the file system browsing buttons at the right. They can also be edited manually. Please note that QtiPlot provides an auto-completion mechanism when editing the file path.

All graphs, or one graph at a time, can be exported in any of the available image formats. Depending upon the image format chosen, you may be able to customize various image file parameters as well as the size of the exported image.

For the bmp, pbm, jpeg, xbm, pgm, ppm image formats, the only available option is the quality of the image. This parameter defines the image compression ratio, and may be set to any value between 0 and 100%. Higher values produce a better quality image and a larger file, while lower values result in increasingly lossy compression, degraded image quality, and smaller file size. For png, tiff and xpm, there is an option to choose a transparent background.

For eps, pdf, and ps file formats, the option dialog is different, see screenshot bellow.

By default the plot is exported to its real size on screen, but if you wish, you can choose a different size by checking the Custom print size box. In addition, there is a Keep aspect ratio option. If you check this box and modify one dimension of a plot, the other dimension will automatically be modified to keep the plot's aspect ratio the same.

When exporting multi-layer 2D plot windows the option Clip space around layers is also available. If this option is checked QtiPlot uses the bounding rectangle of the layers to calculate the size of the exported image. Otherwise the size of the image is equal to the interior size of the graph window (the frame and the title bar of the window being excluded).

When exporting the plot to LaTeX (.tex) there are two very useful options: Export font sizes and Escape special characters in texts. If checked, the first option will include LaTeX commands in the output which keep the original font sizes. If not checked, the font size specified in the preamble of the TeX document will be used for all text strings in the plot. The second option specifies whether LaTeX special characters ($ _ { } ^ % #) should be escaped or not when exporting. If the title or the axis labels contain LaTeX syntax (like superscripts, subscripts, etc...), and you want them to be interpreted by the LaTeX compiler, you must uncheck this option.