Plot.2dCommand: Difference between revisions

From Flooxs
Jump to navigation Jump to search
(New page: = Plot.2d = plot.2d - plot a two dimensional xy picture == Synopsis == === plot.2d === [ (x = <n>) | (y = <n>) | (z = <n>) ] [ max=<numeric list> ] [ min=&l...)
 
Line 49: Line 49:
== Examples ==
== Examples ==


<tt>plot.2d grid </tt>
plot.2d grid


This command will draw the triangular grid and axis. Each material will plotted in a different color.<tt></tt>
This command will draw the triangular grid and axis. Each material will plotted in a different color.


plot.2d bound min ={2 5}
plot.2d bound min ={2 5}


This command will draw the material interfaces with the maximum x and y values of 2.0 and 5.0 um.<tt> </tt>
This command will draw the material interfaces with the maximum x and y values of 2.0 and 5.0 um.


plot.2d bounds
plot.2d bound


This command will draw the material interfaces and place symbols at each coordinate in the mesh.<tt></tt>
This command will draw the material interfaces and place symbols at each coordinate in the mesh.


plot.2d vector=Velocity vlen=0.1 !clear
plot.2d contact=Gate
 
This command will draw the contact interfaces and place symbols at each coordinate in the mesh.
 
plot.2d vector=Velocity vlen=0.1 !clear


This command will plot the Velocity vector field. The maximum arrow drawn will have length of 0.1um. The plot surface will not be cleared.
This command will plot the Velocity vector field. The maximum arrow drawn will have length of 0.1um. The plot surface will not be cleared.

Revision as of 18:16, 10 November 2008

Plot.2d

plot.2d - plot a two dimensional xy picture

Synopsis

plot.2d

[ (x = <n>) | (y = <n>) | (z = <n>) ]
[ max=<numeric list> ] [ min=<numeric list> ]
[ clear ] [ fill ] [ Gas ]
[ boundary ] [ col.bound = <s> ]
[ grid ] [ col.grid=<s> ]
[ vector = <c> ] [ vleng=<n> ] [ vmax=<n> ]

Description

The plot.2d statement allows the user to prepare a two dimensional xy plot. This command is usually used to look at material boundaries and grids, however, it can also be used to plot a flow field. Generally, this command is dne immediately before a [contour.html contour] command so that the isoconcentration lines are plotted in context with the structure. This command while return an error for a one-dimensional simulation.

x, y, z
For a two-dimensional simulation, these parameters are unnecessary. In three-dimensions, one of these three must be specified to indicate the cut line through the structure.
max
This command takes a list of numeric values which will be the ends of the x and y axis, respectively. The first argument is x and the second is the y value. A single value will always be interperted as the x value. The default is the maximum extent of the current structure.
min
This command takes a list of numeric values which will be the ends of the x and y axis, respectively. The first argument is x and the second is the y value. A single value will always be interperted as the x value. The default is the minimum extent of the current structure.
clear
The clear parameter specifies whether the graphics screen should be cleared before the the graph is drawn. If true, the screen is cleared. It defaults to true.
fill
The fill parameter specifies that the device should be drawn with the proper aspect ratio. If fill is false, the device will be drawn with the proper aspect ratio. When true, the device will be expanded to fill the screen. It defaults to false.
gas
This parameter specifies that the grid in the gas should also be plotted. It defaults false, so no gas grid is shown.
boundary
This parameter specifies that the device outline and material interfaces should be drawn. It defaults to false.
col.bound
Use this color to draw the boundary in. Any legal x11 color may be specified.
grid
The grid parameter specifies that the numerical grid the problem was solved on should be drawn. It defaults to false.
col.grid
Use this color to draw the grid in. Any legal x11 color may be specified.
vector
The vector parameter takes a vector field name as an argument. This indcates arrows proportional to the size of the vector and in the direction of the vector at each node. This option does not yet work for three-dimensional simulations.
vleng
The length of the vectors is scaled so that the maximum vector has length vleng, specified in microns. The default is 0.1um.
vmax
Use this as the maximum velocity instead of searching for it.

Examples

plot.2d grid  

This command will draw the triangular grid and axis. Each material will plotted in a different color.

plot.2d bound min ={2 5}

This command will draw the material interfaces with the maximum x and y values of 2.0 and 5.0 um.

plot.2d bound

This command will draw the material interfaces and place symbols at each coordinate in the mesh.

plot.2d contact=Gate

This command will draw the contact interfaces and place symbols at each coordinate in the mesh.

plot.2d vector=Velocity vlen=0.1 !clear

This command will plot the Velocity vector field. The maximum arrow drawn will have length of 0.1um. The plot surface will not be cleared.

Bugs and Missing Features

None.

See Also

[bound.html bound], [slice.html slice], contourCommand, [select.html select]

[../Intro.html FLOOPS/FLOODS Home Page]