If you do not specify
a rotation, a default orientation is searched for in this order:
-
the ORIENTATION setting
on an OPTIONS statement
-
the device-dependent
default
By
default, many of the graphics output devices such as PNG, GIF, and
SVG use the landscape orientation, while the printer devices use the
portrait orientation. When you direct the output of a landscape device
to printer device, the graph is scaled to fit the portrait dimensions,
which might not be desirable. You can use the ROTATE or ROTATE=LANDSCAPE
graphics option to rotate the graph 90 degrees on the portrait-oriented
printer easel in order to maintain the original dimensions of the
graph. For example:
goptions reset=all rotate=landscape;
However, because the
graph is being rendered by devices with different orientations in
that case, unexpected results might occur. When directing landscape
output to a printer device, the best approach is to use the ORIENTATION=LANDSCAPE
system option rather than the ROTATE or ROTATE=LANDSCAPE graphics
option when printing a graph in the landscape orientation. For example:
options orientation=landscape;
The ORIENTATION=LANDSCAPE
system option sets the orientation of all of the output devices to
landscape, which eliminates any problems associated with different
device orientations.