next up previous contents index
Next: Colors, Line Styles, and Fonts Up: plt Tutorial and Cookbook Previous: Drawing Line Segments, Arrows, and Boxes


Suppressing Plot Elements

The -s option allows you to suppress (i.e., to avoid drawing) selected features of your plots. The sub-options following -s specify which elements to suppress. The sub-options are as follows:

e don't begin a new page (erase screen) before plotting
a suppress anything associated with axes
x suppress anything associated with the x axis
y suppress anything associated with the y axis
g suppress the grid
m suppress x axis and y axis tick marks
n suppress x axis and y axis tick mark numbers
t suppress titles for x axis, y axis, and graph
l suppress user-supplied labels (-hl, -vl, -l, and -L options)
p suppress all data plotting
f suppress all ``figures'' (boxes, line segments, arrows, and legends)
C enable all plot features (undo effects of previous -s sub-options)
X subsequent -s sub-options apply only to the x axis
Y subsequent -s sub-options apply only to the y axis
A subsequent -s sub-options apply to both axes (default)

Two or more sub-options can be grouped, as in:

-s eg

By default, data points that fall outside of the axis limits are suppressed. If any data points are not plotted for this reason, plt produces a warning message indicating the number of points that were excluded from the plot. The -ex option overrides this behavior:

-ex
Use this option to ensure that all data points that fall on the page will be plotted.


next up previous contents index
Next: Colors, Line Styles, and Fonts Up: plt Tutorial and Cookbook Previous: Drawing Line Segments, Arrows, and Boxes
George B. Moody (george@mit.edu)
2005-04-26