[Master Index]
[Index for .]
flplot
Function Synopsis
y = flplot(i1, i2, i3, i4, i5, i6, i7, i8, i9, iA, iB, iC)
Help text
FLPLOT -- FLexible PLOT command that doesn't require input triples.
Instead, the parameters to PLOT will be computed from the
input, under the assumption that most X vectors will be
omitted. The only legal X specifications are those that
have the same length as the following Y spec, and whose
adjacent elements all differ by exactly 1. X specs only
affect the immediately following Y spec; embed the Y specs
in a matrix if the X spec should apply to all of them.
The expected order is the same as PLOT, but you're allowed
to omit both the X and color specs:
flplot ( {X-vector,} Y-vector {, color} ... )
Matrices will be be split into columns, unless the X
spec only matches a row-based split.
Examples:
flplot([1:20]) Plot one vector
flplot([1:2:100],log([1:2:100])) Plot two vectors
flplot([11:60],log([1:2:100])) Plot one vector
flplot([10:19],[1:10],[1:1.1:15],[1:1.2:20],'b',[1:1.3:25])
Plot four vectors
x=[1:40]; flplot(x+6, [x; x/2; x/1.5]') Plot three vectors
Returns the number of functions plotted. There is currently an
arbitrary limit of at most 12 input arguments. See also FLPARSE, PLOT.
Cross-Reference Information
This function calls
Produced by mat2html on Thu Oct 9 14:13:05 1997
Cross-Directory links are: OFF