lp_plot

simple plot on the printer

SYNOPSIS

lp_plot [data_group] [x_element] [y_element]

DESCRIPTION

The lp_plot macro outputs a simple plot of the current data on the associated printer.

The plot is formatted for a 132-column page width. If you are using 8.5" paper, you must put the printer in compressed mode. Use either the printer manual controls or one of the macros initdw, initfx, inithp, initnec or initoki, that send the appropriate control sequences to the printer to place it in compressed mode.

The macro does a form feed before plotting if the number of data points is greater than 22. You should always adjust the fan-fold paper in the printer so that after a form feed, the top of the page is even with (or just above) the top of the ribbon.

Without arguments, data from the group given by PL_G (or group PL_G1, if the background-subtraction option is in effect) and the x and y elements given by PL_X and PL_Y are plotted. By default, these are set to group zero and elements zero and one.

The optional arguments to lp_plot override the global values of PL_G (or PL_G1), PL_X and/or PL_Y. For example, lp_plot 2 plots the data from group 2 using PL_X for x and PL_Y for y.

The setplot macro lets you select whether you want automatic printer plots made after each scan. To disable all output to the printer, select /dev/null as the printer device, either by assignment,

PRINTER="/dev/null"

or by answering

/dev/null

when asked for the printer device in the startup macro.

GLOBALS

PRINTER
global variable set to the name of the printer.

SEE ALSO

setplot plot splot initdw initfx inithp initnec initoki