home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l460 / 2.ddi / PLOTXYZ.DI$ / PLOT3.M < prev    next >
Encoding:
Text File  |  1993-03-07  |  1.5 KB  |  42 lines

  1. %PLOT3    Plot lines and points in 3-D space.
  2. %     PLOT3() is a three-dimensional analogue of PLOT().
  3. %     PLOT3(x,y,z), where x, y and z are three vectors of the same length,
  4. %     plots a line in 3-space through the points whose coordinates are the
  5. %     elements of x, y and z.
  6. %     PLOT3(X,Y,Z), where X, Y and Z are three matrices of the same size,
  7. %     plots several lines obtained from the columns of X, Y and Z.
  8. %     Various line types, plot symbols and colors may be obtained with
  9. %     PLOT3(X,Y,Z,s) where s is a 1, 2 or 3 character string made from
  10. %     the characters listed under the PLOT command.
  11. %     PLOT3(x1,y1,z1,s1,x2,y2,z2,s2,x3,y3,z3,s3,...) combines the plots
  12. %     defined by the (x,y,z,s) fourtuples, where the x's, y's and z's are
  13. %     vectors or matrices and the s's are strings.
  14. %     Example: A helix:
  15. %         t = 0:pi/50:10*pi;
  16. %         plot3(sin(t),cos(t),t);
  17. %    PLOT3 returns a column vector of handles to LINE objects, one
  18. %    handle per line. The X,Y,Z triples, or X,Y,Z,S quads, can be 
  19. %    followed by parameter/value pairs to specify additional 
  20. %    properties of the lines.
  21. %
  22. %     See also PLOT, LINE, AXIS, VIEW, MESH, SURF.
  23.  
  24. %-------------------------------
  25. %    Additional details:
  26. %
  27. %
  28. %    If the NextPlot axis property is REPLACE (HOLD is off), PLOT3 resets 
  29. %    all axis properties, except Position, to their default values, and
  30. %    deletes all axis children (line, patch, text, surface, and
  31. %    image objects).
  32.  
  33. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  34. %    Built-in function.
  35.