Post Processing Commands: Difference between revisions

From Flooxs
Jump to navigation Jump to search
No edit summary
Line 30: Line 30:
= Plot commands =
= Plot commands =


All of the following commands plot onto an [[BLTWindow | blt window]]. The controls on the blt window are the same for all commands. This affords backward compatability to all of the old funcitonality (in most cases!).
All of these commands use an interface to plplot. The plplot software can plot to numerous different devices.


* [[ContourCommand|contour]]
* [[WindowCommand|window]]
This command allows the user to plot an isoconcentration line of the selected variable. It is usually used with the plot.2d statement.
Open and control a window and set the number of panes for different plots.
* [[plot.1dCommand|plot.1d]]
* [[plot.1dCommand|plot1d]]
This command allows the user to plot the selected variable in one dimensional cross sections through device.
This command allows the user to plot the selected variable in one dimensional cross sections through device.
* [[plot.2dCommand|plot.2d]]
* [[plot.2dCommand|plot2d]]
This command allows the user to plot the outline and/or grid lines in the two dimensional mesh. It is very useful for setting up the display for the contours.
This command allows the user to plot the outline and/or grid lines in the two dimensional mesh. It is very useful for setting up the display for the contours.
* [[Post/examples.html#XGraph Examples]]
* [[plot3dCommand|plot3d]]
This allows a bird's eye view perspective plot of a surface.


[Post/examples.html Examples ]
[[Plotting_Examples_-_new_short_version|Examples]]

Revision as of 17:51, 15 June 2020

Post Processing Commands

These commands allow data analysis and viewing in a simple way. It is not the point of these graphics to provide publication ready quality. It is often useful to dump data into a different program for annotation and preparation of final graphics. However, the graphics included do allow simple capabilities that are quite useful for analysis during the simulation.

Almost all of these commands work on a single data set. The data set can be named directly on those commands that require it. New data sets can be created with the select command using arbitrary expressions. The coordinate set contains 1-3 spatial coordinates and the selected variable as the final coordinate. In three-dimensional simulation, four dimensions are available and the data needs to be sliced to be displayed.

sel, select

This command allows a variable to be chosen as the z coordinate for the plot command to follow.

Select Examples

There are three main sets of commands.

TCL Returns

The first set is used to provide data back to tcl. These commands find/interpolate data and allow the information to be manipulated as tcl variables.

The interface command returns the location of the specified interface along a given line.

The interpolate command interpolates the selected plot variable and returns the position.

This command prints the material interfaces and integrated plot variable as a function of depth.

This prints the information along a specified line.

Show these in action with sample returns

Plot commands

All of these commands use an interface to plplot. The plplot software can plot to numerous different devices.

Open and control a window and set the number of panes for different plots.

This command allows the user to plot the selected variable in one dimensional cross sections through device.

This command allows the user to plot the outline and/or grid lines in the two dimensional mesh. It is very useful for setting up the display for the contours.

This allows a bird's eye view perspective plot of a surface.

Examples