A range is a list of two numbers, the minimum and the maximum.
Ranges can be given explicity or computed in PostScript by
Returns the minimal range covering all range1, range2, ...
x-range and y-range should each be a list of two numbers or the value returned by
combine-range. pagerect is the rectangle bounding the graph to be drawn; if missing, the rectangle from the top of the PostScript stack is popped and used.
Based on the given ranges,
setup-plotsets up scaling and margins for making a graph. The margins are sized proportional to the fontheight value at the time of the call to setup-plot.
setup-plotsets two variables:
- The region where data points will be plotted.
- The pagerect argument to
setup-plot. Includes plotrect, legends, etc.