contour_plot legend create

Allows you to create a legend in the animation dashboard for a contoured plot of deformation, stress/strain or modal forces while in Adams Flex, Adams Vibration or Adams Durability.
The dashboard in animation mode lets you play and control time and frequency_domain animations, record them, and view contour and vector plots.
Depending on the Adams product you use to create and simulate your model, you display different types of data as contour or vector plots: deformations, stress/strain, or modal forces. Contour plots display scalar data a component at a time, such as a stress. You can select to animate the deformations, modal forces (MFORCEs), or the stresses and strain acting on the flexible body as contour plots to better visualize a result that is defined by its position on a body.
For example, when you analyze flexible bodies using Adams Flex, you can contour deformations using Adams View or Adams PostProcessor.
In the Animation Dashboard - Contour Plots setting, you can set up the options for displaying contour_plots. For each viewport, you can change the way contour plots display colors and values. Note that this allows you to display different viewports at the same time but with different color values, which can be confusing because a color value in one viewport may not be the same as in another.

Format:

 
contour_plot legend create
legend_name =
a new contour_plot legend
animation_name =
an existing animation
title =
string
placement =
placement_option
minimum_value =
real
maximum_value =
real
gradients =
integer
colors =
integer
visibility =
on_off
scientific_notation =
sci_notation
trailing_zeros =
boolean
decimal_places =
integer

Example:

 
contour_plot legend create &
legend_name =
contour_legend__1 &
animation_name =
animation_1 &
title =
this_is_title &
placement =
bottom &
minimum_value =
0.1 &
maximum_value =
10 &
gradients =
10 &
colors =
255 &
visibility =
on &
scientific_notation =
10 , 10 &
trailing_zeros =
on &
decimal_places =
2

Description:

 
Parameter
Value Type
Description
legend_name
A New Contour_plot Legend
Specifies the name of a new contour_plot legend
animation_name
An Existing Animation
Specifies an existing animation
title
String
Specifies title for the legend
placement
Placement_options
Specifies the placement location of the legend
minimum_value
Real
Specifies the minimum value of the legend
maximum_value
Real
Specifies the maximum value of the legend
gradient
Integer
Specifies the number of gradients for the legend to be split
colors
Integer
Specifies the number of colors used to display legend contours
visibility
On_off
Specifies the default visibility of the legend
scientific_notation
Sci_notation
Specifies the exponential form of scientific notation
trailing_zeros
On_off
Sets the default status for displaying trailing zeros
decimal_places
Integer
Specifies the number of decimal places to display legend numbers

Extended Definition:

1. The title name to appear on the top of the legend can be specified by ‘title’. The existing animation for which the contoured plot is to be shown is entered as ‘animation_name’. The legend_name should be specified for creating a new legend.
2. The placement of the legend on the animation window can be on the left, right, top, or bottom, specified by the parameter, ‘placement’.
3. Specify the minimum and maximum numbers for the legend range to be shown.
4. Similarly, the legend can be split into gradients where the number of gradients can be more than two and less than or equal to 255. The number of colors used to show the contour can be chosen by the parameter, ‘color’, which cannot be more than 255.
5. The default visibility of the legend bar is set to ON or OFF by the parameter ‘visibility’.
6. The scientific notation specifies the exponential form for scientific notation.
7. Adams PostProcessor display zeros after the numbers in the legend, if the ‘trailing_zeros’ is set to ‘yes’. The number of zeros depends on the number of decimal points you selected for ‘decimal_places’.