C-PLOT

Scientific Graphics and Data Analysis

ty

select type of plot

SYNOPSIS

ty [x_type y_type overall_type]

ty [x_type y_type z_type overall_type]

DESCRIPTION

The ty command allows direct control over the style of the plot. The stylistic choices are encoded in flags. One flag controls x-axis features, the next controls the y-axis. If in 3D mode, the third flag controls the z-axis. The last flag controls overall features of the plot.

There are three ways to select values for the flags: by entering values for each of them on the command line, by entering values as prompted or by choosing features one by one.

The following pages contain a summary of the features that can be turned on or off, with the corresponding values used in the coding scheme described below the charts. With each pair of options the default mode is given first, then the alternate mode and the corresponding decimal or octal code used to turn on the alternate mode.

Overall Flags:

Draw a complete box    
Just draw the x and y axes 2 02
Put tick marks all around    
No tick marks at top & right 4 04
Cut off plot symbols    
Let plot symbols overlap axes 8 010
Drop out-of-range points    
Draw them on the axes 16 020
Don't draw border    
Draw border around the edge 32 040
Use [ ] to enclose units    
Use ( ) to enclose units 64 0100
Numbers/labels on the left    
Put them on the right side 128 0200
Draw y axis on both sides    
Don't draw the right-side axis 256 0400
Draw y axis on both sides    
Only draw the right-side axis 512 01000
Use traditional axis labels    
Use APS-style[1]_ axis labels 1024 02000
[1]American Physical Society (APS) style labels have parenthesis around the units and no multiplication sign in front of the scale factor. For dimensionless quantities, the inverse of the scale factor is placed in front of the label with no parenthesis.

Axis Flags:

Use normal tick spacing    
User-defined tick spacing 1 01
Use normal auto-ranging    
Consider entered ranges exact 2 02
Move in 1st, last tick marks    
Don't move tick marks 4 04
Use linear axis    
Use logarithmic axis 8 010
Number axis    
Don't number axis 16 020
Use scientific notation on linear axis    
Use engineering notation 32 040
Can use decimal notation on log axis    
Force power-of-10 notation 32 040
Use trailing zeroes    
No trailing zeroes 64 0100
Use leading zeroes    
No leading zeroes 128 0200
Print all axis numbers    
Don't print first number 256 0400
Draw tick marks    
Don't draw tick marks 512 01000
Tick marks inside axis    
No ticks marks inside axis 1024 02000
No tick marks outside axis    
Tick marks extend outside axis 2048 04000
Dual-height tick marks    
Uniform tick marks 4096 010000
Normal tick marks    
Tick marks form a grid 8192 020000
Draw axis and numbers    
Don't draw axis and numbers 16384 040000

If you enter ty with no arguments, you will be prompted to enter a value for each of the flags. If you enter nothing for a flag, you will be able to define the plot characteristics feature by feature.

When coding the flags for the axes and overall plot, the normal settings for plot and axis features each have a value of zero and the alternate settings have the values shown in the chart. Each flag represents the sum of the alternate modes selected. For example, entering 1,040 for an axis selects no numbering (16) and no tick marks inside the axis (1024). All other features are set to the usual mode.

A zero entered on the command line for one of the values means all the usual modes are used. If you enter a . for a value, C-PLOT will use the previous value for that set of flags and will not prompt for the individual features. If you precede a value by a + or a -,the features corresponding to the value will be turned on or off.

You can enter numbers in decimal, octal or hexadecimal. For octal, precede the number by 0, for hex, precede the number by 0x. When you next use the ty command, C-PLOT will display values according to the last-used input format.

EXAMPLE

ty 24 520 130

SEE ALSO

ro