Content Prev Next Down

Exporting Graphs
Syntax spexport(directoryNamefileNamefileFormat)
See Also spitem , spopen , spquit

Description
Exports a graph to an image file. The argument directoryName must be a character row vector which specifies a valid directory name. The argument fileName must be a character row vector which is the name to be given the file that is exported. The argument fileFormat must be a character row vector which specifies the image file format and must be one of the values: "BMP", "WMF", "EPS", or "JPG".

Examples
If, at the O-Matrix prompt you enter,
   clear
   x = 1:1:10
   splot(x, x^2);
   spexport("C:\temp\", "tst.jpg", "JPG")
SigmaPlot will create a jpeg image file of the plot in the directory c:\temp".