Title | Previous | Next

distline

Plot a variable vs. distance along a line.

Synopsis:

distline window_id x 1 y 1 x 2 y 2

Arguments:

window_id

The identifer of the window which will contain the line, an integer ranging from 1 to the number of active windows. The maximum number of windows is 16.

x1,y1,x2,y2

The numbers are either the coordinates of the end-points of the line, in which case they are real (floating point) numbers, or they are logical indices into the mesh, in which case the numbers are integers.

Description:

A line with end-points (x1,y1), (x2,y2) is plotted to the window specified by window_id . A second curve is generated from the first, and it consists of all the values of a given variable at the points along the line. The variable is specified via the dist command, and the resultant values are plotted versus the distances of the points from the first end-point. This curve is plotted in the visualization window specified in the dist command.

Note that when the logical argument to the dist command equals off , x1 , y1 , x2 , and y2 must be real numbers (coordinates), and when logical equals on , these numbers must be integers.

Examples:

dist var=d, outwin=2 logical=off

distline 1 .3 .5 1.2 2.8 #Value curve goes to viz win 2

See Also:

curve , dist , ref , refl , winnew , winnum


Title | Previous | Next

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