| gdispla | Device-independent DISPLAY/NODISPLAY control | gdispla |
It allows for the fact that for direct output to the display device, the
required GOPTIONS are NODISPLAY or DISPLAY,
whereas for output to a GSF, GIF, or EPS file, the options are
GSFMODE=NONE or GSFMODE=APPEND. It is usually
used with the PANELS macro, or other programs which
produce multiple plots and then join those plots in a template using
PROC GREPLAY. Some multi-plot programs use the GDISPLA macro internally.
DEVTYP=EPS, using
%let devtype=eps;
GSMODE option;
the value DEVTYPE=SCREEN causes the macro to use the
DISPLAY or NODISPLAY option.
All other values are ignored.
%include vcd(gdispla); *-- or include in an autocall library;
%let devtype=SCREEN;
%gdispla(OFF);
proc gplot;
plot y * x;
by group;
%gdispla(ON);
%panels(rows=1, cols=3);