Content Prev Next Down

Defining and Setting Graph Pages
Syntax spgraphpage()
spgraphpage(pageName)
See Also spsection , spitem , splot , scontour

Description
Set the SigmaPlot graphic page to be used for subsequent plotting If set to "", new graphic pages will be created for subsequent plots

Examples
If SigmaPlot is not running and you enter the following at the O-Matrix prompt
     x = 0.:.1:2*pi
     y = [sin(x), cos(x)]
     spgraphpage("sinXcosX")
     splot(x, y)
SigmaPlot will create a new line plot in the current section with the name sinXcosX.


If you continue this example by entering
     spgraphpage
O-Matrix will respond
     sinXcosX
If you want the SigmaPlot to automatically define names for graphs as you create plots, set the graph page name to the empty string "". If you continue the example above by entering
     spgraphpage("")
     splot(x, 2*y)
SigmaPlot will create a new folder with a new graph and worksheet with names selected by the system.