xy_plots spec_line create
Allows you to create a spec line.
Format:
xy_plots spec_line create |
|---|
spec_line_name = | a new spec_line |
line_type = | line_style |
axis = | an existing axis |
color = | an existing color |
thickness = | real |
location = | real |
Example:
xy_plots spec_line create & |
|---|
spec_line_name = | spec_line__1 & |
axis = | haxis & |
color = | blue & |
line_type = | solid & |
thickness = | 1.0 |
Description:
Parameter | Value Type | Description |
|---|
spec_line_name | A New Spec_line | Specifies a name for the spec line. |
line_type | Line_style | This parameter allows the selection of the line type for a curve. |
axis | An Existing Axis | Allows you to create and modify additional axes on a plot to effect multiple axis plotting. |
color | An Existing Color | Specifies the COLOR of a graphic object. |
thickness | Real | This parameter allows the specification of the thickness of the curve. |
location | Real |
Extended Definition:
1. A string of characters that identifies a spec line. Spec line names are assigned when spec lines are created. After a spec line has been created, you can reference it by its name until it is deleted. A spec line on the same plot cannot have the same name as another spec line.
spec_line_name can be any length, and you can use any combination of alphanumeric characters. The leading character must be a letter.
2. When you create a plot template, Adams View creates two axes by default, one horizontal and one vertical. These are the plot's primary axes which Adams View uses to perform cursor tracking and to draw the grid. The plot TEMPLATE commands also operate on the plot's primary axes.
Each axis consists of an axis line, tic marks, numbers and a label. Use the axis ATTRIBUTES to change visibility and color attributes for the axis entities.
To plot a curve against the new axes, specify the axis names when you create the curve.
You can make the new axes as the plot's primary axes by modifying the plot's template and specifying the desired axes as the PRIMARY_HAXIS and PRIMARY_VAXIS. The grid will then reflect the divisions of the new axes and cursor tracking will reflect the new axes' coordinate system.
3. A graphic object is an object that may be drawn on the screen by Adams View, these include curves, parts, markers, arcs, outlines, boxes, circles, cylinders, frustums, spring damper graphics, force graphics, and plot curves and symbols. When the COLOR of a part is specified, all graphic objects fixed to that part are drawn with the COLOR of the part. Adams View supports the following COLORs: black, white, red, green, blue, cyan, magenta, and yellow.
Note: | If you choose the COLOR of an entity to be drawn in the view background color (typically, white or black) it may not show up. |
See help for hardcopy also.
4. The line type describes how the line will look when displayed on a plot.
Adams View supports solid, dash, dotdash, and dot.
Line Type Appearance
-------------------------------------
solid _______________
dash _ _ _ _ _ _ _ _
dotdash . _ . _ . _ . _
dot . . . . . . . .
5. This parameter acts as a multiplier, is a real number and must be greater than zero. The default for this parameter is 1. If you specify THICKNESS=2.5, the curve will be two and one half times as wide as the default. Note that large values for this parameter may result in the entire plot being covered.