|
Jun Makino 2004/01/05
Box behaves quite differently than in original mongo.
Options (for parameters XOPT and YOPT): A : draw Axis (X axis is horizontal line Y=0, Y axis is vertical line X=0). B : draw bottom (X) or left (Y) edge of frame. C : draw top (X) or right (Y) edge of frame. G : draw Grid of vertical (X) or horizontal (Y) lines. I : Invert the tick marks; ie draw them outside the viewport instead of inside. L : label axis Logarithmically (see below). N : write Numeric labels in the conventional location below the viewport (X) or to the left of the viewport (Y). P : extend ("Project") major tick marks outside the box (ignored if option I is specified). M : write numeric labels in the unconventional location above the viewport (X) or to the right of the viewport (Y). T : draw major Tick marks at the major coordinate interval. S : draw minor tick marks (Subticks). V : orient numeric labels Vertically. This is only applicable to Y. The default is to write Y-labels parallel to the axis. 1 : force decimal labelling, instead of automatic choice (see PGNUMB). 2 : force exponential labelling, instead of automatic.
Some example of reasonable arguments are:
BCNTSV BCNTSV (this is default) This creates a box with ticks in all sides, and numeric labels at left and bottom BCNTSVL BCNTSVL This creaets logarithmic ticks (and labels) for both horizontal and vertical axes.
This is an extension of the standard xcolumn or ycolumn command. Instead of reading from a fixed column, this command reads the entire line and evaluate the expression specified in the second argument. The data in columns are specified as "cx", where x is a number. For example,
fcolumn x c1*c1
sets the square of the first column to x data. Any valid expression of Ruby can be used here. This command tries to convert all columns to numbers, unless there is a column starting with "#". All data after "#" will be ignored.
used as replacement for "putlabel x". You can say
justfication center justfication left justfication right
which will affect the justification of the subsequent texts printed by label command.
If no argument is given, "pgplot.ps/vcps" is assumed
PTYPE n s causes points to be drawn as n sided polygons of a style s, where s refers to: 0 = open 1 = skeletal (center connected to vertices) 2 = starred 3 = solid PTYPE will also accept one argument which is a composite = 10*n + s.
In mongo, you can use "end", but since "end" is a reserved word in Ruby we need to use something else.
This command is useful to make a square plot (which I like)
The argument is the same as that for PGOPEN. If no argument is given, "/xserve" is assumed
change viewport, relative to the current viewport
write the command history to file filename (works only in the interactive mode)