Skip to content
Prev 105949 / 398506 Next

global option settings for grid and lattice?

Hi
Zepu Zhang wrote:
ps.options() sets the defaults for a PostScript output device.  It has
no effect, for example, on screen output.

The top-level grid viewport takes most of its default settings from the
device, so it should pick up ps.options() settings (WHEN you are drawing
to a PostScript device).  All grid drawing uses default settings from
the current viewport unless explicitly overridden, so ps.options()
settings should carry through to your drawing (IF you are only using grid).

Lattice decides for itself what the default graphics settings should be
(again, based on the type of device you are drawing to, but using
lattice defaults, NOT ps.options() defaults).  You might want to look at
?trellis.device and read about themes to gain control over default
lattice settings.

Paul