Content Prev Next Down

Closing SigmaPlot
Syntax spquit()
spquit(saveFlag)
See Also spopen

Description
Closes SigmaPlot. If the spquit function is called without arguments SigmaPlot is closed immediately without prompting the end user, even if the contents have been modified. If present, the argument saveFlag must be a logical scalar which specifies if the end user should be prompted to save changes. If saveFlag equals true the end user is prompted to save changes that have been made to open notebook files.

Examples
If SigmaPlot is not running and you enter the following at the O-Matrix prompt
     clear
     z = {[1,2],[2,1]}
     scontour(z)
SigmaPlot will open and create a new contour plot of the O-Matrix variable, z. If you continue the example by entering
     spquit
SigmaPlot will close without prompting the end user to save the contour plot. If you continue the example by entering
     ssurface(z)
SigmaPlot will re-open and create a notebook that contains a surface plot of z. If you continue the example by entering
     spquit(true)
SigmaPlot will prompt the user for a file name, and then quit.