Library /sys$common/syshlp/basichelp.hlb Graphics, PLOT *Conan The Librarian (sorry for the slow response - running on an old VAX) |
The PLOT statement draws the specified graphics object on all active devices. Values for graphics attributes such as color and style use the current settings. Graphics objects displayed with PLOT from within a picture, are affected by the specified transformation function, whereas those points displayed with GRAPH are not. The PLOT POINTS statement must include the coordinates for at least one point. The PLOT AREA statement requires a minimum of three points. However, with the PLOT LINES statement, you have the option of including no points or any number of points. The PLOT LINES statement lets you control whether the beam of light is switched on or off. When the beam of light is switched off, it is possible to move a plotter from one position to another without leaving a trail or a line. When the beam of light is switched on, a plotter draws a line as it moves from one position to the next. At the start of program execution, the beam of light is off. To leave the beam on, place a semicolon at the end of the last point in the PLOT LINES statement. To turn the beam off, use a PLOT LINES statement and do not include points or a semicolon after the last point. Example OPTION TYPE = EXPLICIT DECLARE SINGLE counter SET WINDOW 0,2*PI,-1,1 SET LINE SIZE 5 FOR counter = 0 TO 2*PI STEP 0.1 PLOT LINES counter, SIN(counter); NEXT counter PLOT LINES END
Additional Information (explode) :
|