home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d165 / plotview.lha / PlotView / Plot / plot.doc < prev    next >
Text File  |  1988-11-22  |  1KB  |  38 lines

  1.   Plot is a device independent plotting package for the Amiga. It is
  2. compatable with the UNIX plot subroutine package. It provides a set
  3. of subroutines that create device independent plotting data. This data
  4. must be processed by an output filter that transforms it into device
  5. specific data. A different filter is needed for each device that is to
  6. draw the graphics. The subroutines write their data to stdout. Following
  7. are the calls provided by Plot:
  8.  
  9. move(x,y):     Move the pen to x,y.
  10.  
  11. cont(x,y):     Draw from the current pen position to x,y.
  12.  
  13. point(x,y):    Draw one pixel at x,y. Pen is left at x,y.
  14.  
  15. line(xs,ys,xe,ye): Draw a line from xs,ys to xe,ye. Pen is left at xe,ye.
  16.  
  17. arc(xc,yc,xs,ys,xe,ye): Draw an arc from xs,ys to xe,ye, with center
  18.                at xc,yc.
  19.  
  20. label(string): Draw the text at the current pen position.
  21.  
  22. circle(xc,yc,r): Draw a circle with its center at xc,yc and raduis r.
  23.  
  24. linemode(mode): Set the mode for all subsequent lines. Mode is a string
  25.                equal to one of the following: dotted, solid, longdashed,
  26.                shortdashed, dotdashed.
  27.  
  28. space(xl,yl,xh,yh): Sets the graphic space to the rectangle described by
  29.                xl,yl and xh,yh.
  30.  
  31. erase():       Clears the drawing area and sets the linemode to solid.
  32.  
  33. The following 2 subroutines have no functions, and are provided for
  34. compatibility only:
  35.  
  36. openpl()
  37. closepl()
  38.