![]() |
![]() |
![]() |
![]() |
Axis2D
Synopsis
create an XY-axis grid with labels based on mesh extents
Input Port
Output Port
Description
Axis2D creates a grid of lines aligned with the XY axes; the grid contains major and minor tick lines with numeric labels based on the extents of the first two dimensions of the input mesh (which is commonly included in a field). By default it creates five major axis lines in each dimension and one minor line between each pair of major lines.
Input
Parameters
UIfieldTypein. Draw only grid lines greater than this X coordinate in the input mesh's coordinate system.
UIfieldTypein. Draw only grid lines less than this X coordinate in the input mesh's coordinate system.
UIfieldTypein. Draw the main YZ axis plane at this X coordinate. Other axis lines are spaced at equal intervals from this plane according to X step. Note that this does not mean that this X coordinate is assigned a value of 0; it only sets the reference point for drawing axis lines perpendicular to X. For example, if you set X origin to 200, the X value printed below that point is still 200, and X tick lines are drawn at 200 - X step, 200, 200+X step, 200+2(X step), and so on.
UIfieldTypein. Offset distance (-X) from the X origin (ref) to the lower left corner of the numeric labels.
UIslider. Number of minor lines between major lines along the X axis.
An XformEditor that controls the position, orientation, and scale of the axes in space. The transformation defined here is added to the renderable out_obj.
UIfieldTypein. Draw only grid lines greater than this Y coordinate in the input mesh's coordinate system.
UIfieldTypein. Draw only grid lines less than this Y coordinate in the input mesh's coordinate system.
UIfieldTypein. Draw the main XZ axis plane at this Y coordinate. Other axis lines are spaced at equal intervals from this line according to Y step. Note that this does not mean that this Y coordinate is assigned a value of 0; it just sets the reference point for drawing Y tick lines. For example, if you set Y origin to 200, the Y value printed to the left of that point is still 200, and Y tick lines are drawn at 200 - Y_step, 200, 200+Y_step, 200+2(Y_step), and so on.
UIfieldTypein. Offset distance (-Y) from the Y origin (ref) to the lower left corner of the numeric labels.
Output Port
Example
Libraries.Examples.Visualization.advect
examples/advect.vFile
See also related modules
![]() |
![]() |
![]() |
![]() |