home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / RLaB 1.18c / misc / gnuplothelp / plot < prev    next >
Encoding:
Text File  |  1995-02-14  |  2.0 KB  |  50 lines  |  [TEXT/ttxt]

  1. plot:
  2.  
  3. Synopsis: RLaB graphics interface
  4.  
  5. Syntax: plot ( A, KeyTitles, I ) or plot( X, Y, I )
  6.  
  7. Description:
  8.  
  9.     The plot function plots numeric data via the GNUPLOT program. The
  10.     argument A can be a matrix, or a list of matrices, or a string.
  11.     plot can also plot a vector Y versus a vector X. X and Y can
  12.     also be matrixes. 
  13.     When A is a matrix, columns 2 through N are plotted versus the 1st
  14.     column. When A is a list of matrices, each matrix is plotted
  15.     versus it's own 1st column. When A is a string, the string is sent
  16.     to GNUPLOT as a command.
  17.  
  18.     plot ( M )            plots the contents of matrix M
  19.     plot( X, Y )            plots Y verus X
  20.     plot ( << M1 ; M2>> )        plots M1, and M2 on the same graph
  21.     plot ( "set noborder" )        sends the string directly to
  22.                     GNUPLOT as a command
  23.  
  24.     Using a list of matrices as an argument to plot is useful when the
  25.     the independent variable (1st column) of each matrix is different.
  26.  
  27.     The second and third, and optional argument to plot denotes the plot process
  28.     number and sends key-titles. The plot() function will open distinct plot
  29.     processes when given distinct values of N. When this feature is used in a
  30.     X-windows environment, the effect is to create separate plot windows.
  31.     The KeyTitles is a string-vector containing the titles to be plotted as keys.
  32.     They are chosen beginning at KeyTitles[1] and so on.
  33.     For example:
  34.  
  35.     plot ( M )            plot the contents if matrix M
  36.     plot ( 2.*M, 1 )        plot 2 times M, to another window
  37.     plot (<<M1;M2>>,2,KeyTitles)    plot M1, and M2 on the same graph in another
  38.                     window with the keytitles from KeyTitles
  39.  
  40.     If 'I' is not specified the default plot-window (0) is used.
  41.  
  42. See Also: splot, cont, pstring, postplot, latexplot,  printplot, 
  43. psave, pssave,  multiplot, nomultiplot, plotyy, noplotyy, pclose, 
  44. setterm, showplot, showpwin, replot, phelp, autoscale, 
  45. range, xrange, yrange, zrange, xtics, noxtics, ytics, noytics, 
  46. ztics, noztics, loglog, semilogx, semilogy, nolog, 
  47. xlabel, ylabel, zlabel, title, notitle, linestyle, pformat, 
  48. key, nokey, grid, nogrid, axis, noaxis, label, nolabel, time, notime
  49.  
  50.