plot
The plot
command can be used to plot and save visualization as .vtk
file.
Only binaries compiled with VTK libraries can use this command. Otherwise, it does nothing.
Since Paraview
can be used to perform all kinds of post-processing, the objective is not to implement a full-featured visualisation support.
Syntax
The plot
command uses a different parsing mechanism.
Available keywords and corresponding parameters are listed as follows.
scale
controls the scale of deformed configuration. A single double value is required as parameter. Ifundeformed
is used, thenscale
will be set to zero. Example:scale 2
deformed
sets deformed plot.undeformed
sets undeformed plot.type
controls which quantity shall be extracted and plotted. A single string is required as parameter. Available values can be seen in output types. Example:type U1
fontsize
controls the font size of legend, title, etc. This has no effect if the plot is saved. Example:fontsize 14
nobar
disables legend in plot window.material
filters the elements plotted based on material tag. A single unsigned integer is required as parameter. Example:material 1
size
controls the size of plot window. Two double values are required. Examples:size 300 400
save
indicates the file name. A string value with suffix of.vtk
is required. Example:save S11.vtk
Remarks
Invoking this command with proper parameters spawn an interactive rendering window using VTK. It offers a quick view of the model. The spawned window can be closed by pressing q
key. The spawned window does not block the application so it is possible to plot multiple quantities at the same time. However, new analysis won't be performed until all the windows are closed.
Example
Last updated