aboutsummaryrefslogtreecommitdiff
path: root/lib/scr/gtools.key
blob: 9193c260e6ea4f046ec9c14382d08e6a91d98df3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
GRAPH FORMAT OPTIONS - Not all options work in all programs

COLON COMMANDS:

:/help			Print help menu
:/redraw		Redraw the graph

:/drawtitle [yes|no]	Draw title block?
:/sysid [yes|no]	Include the standard IRAF user/date banner?
:/parameters string	Parameter string (usual set by application)
:/title string		Title
:/subtitle string	Subtitle
:/comments string	Comments

:/type string		Type of graph (line, hist, or mark)
:/mark string		Mark type (point, box, plus, cross, diamond,
				   hline, vline, hebar, vebar, circle)
:/line [0-9]		Line style
:/color [0-9]		Line or mark color

:/drawxlabels [yes|no]	Draw X axis label?
:/xlabel string		Label for X axis
:/xunits string		Units for X axis
:/xsize size		Size of marks along the X axis
:/xtransform type	X coordinate transform type (linear or logrithmic)
:/xwindow x1 x2		X graph window (INDEF defaults to min or max)
:/xflip [yes|no]	Flip X axis

:/drawylabels [yes|no]	Draw Y axis label?
:/ylabel string		Label for Y axis
:/yunits string		Units for Y axis
:/ysize size		Size of marks along the Y axis
:/ytransform type	Y coordinate transform type (linear or logrithmic)
:/ywindow y1 y2		Y graph window (INDEF defaults to min or max)
:/yflip [yes|no]	Flip Y axis

:/transpose		Transpose the graph axes

Format changes do not take effect until the graph is redrawn.

CURSOR KEYS:

a  Autoscale x and y axes
b  Set bottom edge of window
c  Center window at cursor position
d  Shift window down
e  Expand window (mark lower left and upper right of new window)
f  Flip x axis
g  Flip y axis
j  Set left edge of window
k  Set right edge of window
l  Shift window left
m  Autoscale x axis
n  Autoscale y axis
p  Pan x and y axes about cursor
r  Shift window right
t  Set top edge of window
u  Shift window up
x  Zoom x axis about cursor
y  Zoom y axis about cursor
z  Zoom x and y axes about cursor


DESCRIPTION

A number of application tasks use the graphics tools in the "gtools"
package.  The graphics tools control labeling and titling of graphs and
interactive formatting.  The user changes the defaults via colon commands
and with the window cursor keys.  The windowing options are usually
entered with the 'w' key from an application program but other keys
may be used instead.  Not all of the formating options may be available
in a particular application; for example the graph type and mark type
options.  Check the documentation for the application program.
Some applications set the values every time the graph is redraw so any
user changes will be overridden.

The title block consists of a system identification banner, a parameter
string, a title string, a subtitle string, and a comment string in
that order.  The "notitle" parameter can be used to turn off all
the title block.  There are parameters to control each of the
parts of the title block.  The "subtitle" and "comments"
parameters are rarely used by applications and so may be used to
annotate graphs.  The x and y labels consist of label and units strings.
The "drawxlabels" and "drawylabels" parameters can be used to
turn off both parts of the axis labels.