User guide

6.8.3 File Export
GAUSSgraphsmaybeexportedtomanypopularfileformats,includingBMP,PNG,PS,
SVGandPDF.Graphicsmaybeexportedprogrammaticallyorusingthegraphicalcon-
trols.Toexportagraphprogrammatically,usetheplotSavefunction,passinginthe
filenamewithextensionandthedimensionsincentimetersforthesecondargument:
//Save the graph just created as mygraph.pdf with a width of
//30 cm and a height of 18 cm
size = { 30, 18 };
plotSave("mygraph.pdf", size);
Toexportagraphusingthegraphicalcontrols,selectthegraphyouwouldliketoexport
andthenselectFile->Export Graphfromthemainmenu.
Figure6.19:ExportOptions
Onceyouhaveselectedafilenameandclickedthesavebutton,awindowwithexport
sizingoptionswillappear.Thiswindowhastwosections.Thefirstsectionsetsthewith
andheightofyourexportedimage.
Thesecondsectionsetsthefontsizes.If"Autosize"ischecked,GAUSSwillauto-
maticallyscalethefontssothattheywillbethesamesizerelativetothesizeofthe
graphastheyappearwhenviewedinGAUSS.Otherwiseyoumayspecifyindividual
fontsizestouseforeachtextobject.Forconvenience,thefontsizesspecifiedforyour
graphwillbeautomaticallyenteredintherespectivefield(title,axesandlegend).
6-32
GAUSSUser Guide
GAUSS Graphics