pd
is the low-level verb that handles all calls to Plot.
pd
has three types of argument:
commands | set up and show a plot | |
options | specify plot type, colors etc | |
data | data used in the plot |
Commands and options are given in a character list, delimited by semicolons. Data is a numeric or boxed array.
For example:
load 'plot numeric trig' NB. load plot and some utilities pd 'reset' NB. command reset pd 'textc 500 950 My Plot' NB. command textc pd 'type line' NB. option type pd cos steps 0 8 100 NB. data pd 'show' NB. command show pd 'clip' NB. command clip pd 'print' NB. command print