|
|
Content | Prev | Next | Down |
| Syntax |
spcolumns(columnNames) |
| See Also | scontour , ssurface , splot , spgraphpage , spitem |
Examples
clear
x = 0.0 : 0.1 : 2*pi
y = [sin(x), cos(x), 2*sin(x), 2*cos(x)]
splot(x, y)
SigmaPlot will create a new line plot using
the worksheet column numbers for legend names.
If you continue the example above, by entering
wksTitles = {"x", "sin(x)", "cos(x)", "2*sin(x)","2*cos(x)"}
spcolumns(wksTitles)
SigmaPlot will change the column titles of worksheet columns
1 through 5 to the 5 strings specified in wksTitles
and the worksheet and plot will now appear as: