Title | Previous | Next

dist

Set options for plotting a variable vs. distance along a line.

Synopsis:

dist option = value [, option = value, ...]

Arguments:

option

A dist command option. See table below.

value

A value associated with the matching option . See table below.

Option

Value

Value Meaning

Default Value

lc

line color

Line color. Color Names off means the line color will cycle through the MeshTV standard color table. A color index may be used in place of a color name.

off

legend

on, off

Whether or not a legend for the reference line should be displayed with the plot.

off

logical

on, off

When on , the distance plot will be created using logical index values, else it is created using coordinate values. This means that the numbers supplied by distline need to be either real or integer values as appropriate.

off

ls

dash, dot,
dotdash, solid

Line style. Line Styles

solid

lt

1 <= integer <= 4

Number to indicate thickness. 1 is the most thin, and 4 is the thickest.

1.0

outwin

1 <= integer <= 16 or -1

Set the visualization window into which to display the distance plot curves. This must be different from the active window. If you specify -1 as the output window, you are indicating you want MeshTV to first try to use the first empty visuzliation window, or, if there are no empty windows, to open a new window to receive the curves.

-1

repline

on, off

If on , replace the last reference line with this one. If off , create a new reference line and add it to the display.

off

repplot

on, off

If on , update the curve associated with a reference line. If off , create a new curve anytime a reference plot is plotted or replotted.

on

var

variable name

Name of variable to plot.

d

Description:

The dist and distline commands provide shortcuts to the ref and refl commands, which are more general, but more verbose.

The dist command sets the options used when a MeshTV window is in the reference plot mode. By default, MeshTV will cycle through the line colors for the distance plot. If you want all plots to be the same color, you should set the line color on the command line. See winmode for a description of the ref mode.

The plot that displays in the visualization window is a plot of the chosen variable (set via the var option) as it varies along a line. The line is selected either by specifying endpoints, if using the distline command, or by drawing the line by clicking with the mouse in the active window while in the reference plot mode.

This command should only be issued if you have more than one visualization window created.

Examples:

dist var=d,outwin=2,logical=on

dist var=foo,outwin=4,lc=red

See Also:

curve , distline , ref , refl , winmode , winnew , winnum


Title | Previous | Next

MeshTV@viper.llnl.gov
Copyright © 1998, U.S. Department of Energy. All rights reserved.