Adds grid lines to a drawing area and/or changes grid attributes.
chips> [D #] GRIDS [<gridtype>] <color>
chips> [D #] GRIDS [<gridtype>] [<coor>] <boolean>
chips> [D #] GRIDS [<gridtype>] <linestyle>
Argument: <boolean>
Description: drawing area grids on or off
Options: {ON | OFF}
Default: ON
Argument: <color>
Description: axes color
Options: BLACK, BLUE, CYAN, DEFAULT, GREEN, MAGENTA, RED, WHITE, YELLOW
Default: DEFAULT (appears in ChIPS window as white; prints as black)
Argument: <coor>
Description: axis coordinates
Options: X, Y
Default: both X and Y
Argument: D #
Description: drawing area number designation
Options: integer numbers
Default: current drawing area
See the D command for more information about
this argument.
Argument: <gridtype>
Description: type of grid markings
Options: MAJ - grid lines along major tick marks
MIN - grid lines along minor tick marks
Default: both MAJ and MIN
Argument: <linestyle>
Description: style for lines
Options: SOLID, DOT, DASH, LONGDASH, DOTDASH, DOTLONGDASH,
DASHLONGDASH
Default: SOLID
CIAO allows some plot attributes to be changed using the
ChIPS state object and resource file. See "ahelp
chips" for further details.
chips> CURVE data/example.dat
chips> GRIDS ON
A curve is plotted, then the grid lines are turned on.
chips> GRIDS MAJ Y ON
chips> GRIDS MIN X ON
Grid lines along the major Y-axis tick marks are turned on, while the
lines along the minor X-axis tick marks are turned on.
chips> GRIDS MAJ BLUE
chips> GRIDS MIN CYAN
chips> GRIDS LONGDASH
The major tick marks are changed to the color blue,
and the minor tick marks are changed to the color cyan.
Finally, all grid line styles are changed from a solid
line to a long dash.
- chips
-
axes,
drawarea,
errs,
font,
label,
levels,
limits,
line,
linear,
location,
log,
relativesize,
split,
symbol,
ticks,
tickvals,
title,
xlabel,
ylabel,
zlabel
|