home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-02-14 | 2.0 KB | 50 lines | [TEXT/ttxt] |
- plot:
-
- Synopsis: RLaB graphics interface
-
- Syntax: plot ( A, KeyTitles, I ) or plot( X, Y, I )
-
- Description:
-
- The plot function plots numeric data via the GNUPLOT program. The
- argument A can be a matrix, or a list of matrices, or a string.
- plot can also plot a vector Y versus a vector X. X and Y can
- also be matrixes.
- When A is a matrix, columns 2 through N are plotted versus the 1st
- column. When A is a list of matrices, each matrix is plotted
- versus it's own 1st column. When A is a string, the string is sent
- to GNUPLOT as a command.
-
- plot ( M ) plots the contents of matrix M
- plot( X, Y ) plots Y verus X
- plot ( << M1 ; M2>> ) plots M1, and M2 on the same graph
- plot ( "set noborder" ) sends the string directly to
- GNUPLOT as a command
-
- Using a list of matrices as an argument to plot is useful when the
- the independent variable (1st column) of each matrix is different.
-
- The second and third, and optional argument to plot denotes the plot process
- number and sends key-titles. The plot() function will open distinct plot
- processes when given distinct values of N. When this feature is used in a
- X-windows environment, the effect is to create separate plot windows.
- The KeyTitles is a string-vector containing the titles to be plotted as keys.
- They are chosen beginning at KeyTitles[1] and so on.
- For example:
-
- plot ( M ) plot the contents if matrix M
- plot ( 2.*M, 1 ) plot 2 times M, to another window
- plot (<<M1;M2>>,2,KeyTitles) plot M1, and M2 on the same graph in another
- window with the keytitles from KeyTitles
-
- If 'I' is not specified the default plot-window (0) is used.
-
- See Also: splot, cont, pstring, postplot, latexplot, printplot,
- psave, pssave, multiplot, nomultiplot, plotyy, noplotyy, pclose,
- setterm, showplot, showpwin, replot, phelp, autoscale,
- range, xrange, yrange, zrange, xtics, noxtics, ytics, noytics,
- ztics, noztics, loglog, semilogx, semilogy, nolog,
- xlabel, ylabel, zlabel, title, notitle, linestyle, pformat,
- key, nokey, grid, nogrid, axis, noaxis, label, nolabel, time, notime
-
-