contour_plot legend modify
Allows you to modify 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, one 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 modify |
|---|
legend_name = | an exisitng contour_plot legend |
new_legend_name = | a new contour_plot legend |
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 modify & |
|---|
legend_name = | contour_legend__1 & |
new_legend_name = | modified_legend & |
title = | new_legend & |
placement = | right & |
minimum_value = | 0 & |
minimum_value = | 2.5 & |
gradients = | 5 & |
colors = | 10 & |
visibility = | on & |
scientific_notation = | 1,2 & |
trailing_zeros = | on & |
decimal_places = | 2 |
Description:
Parameter | Value Type | Description |
|---|
legend_name | An Existing Contour_plot Legend | Specifies the name of an existing contour_plot legend |
new_legend_name | A New Contour_plot Legend | Specifies a new name for the contour plot legend |
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 ‘new_legend_name’, if specified, replaces the existing legend name.
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 les than or equal to 255. The number of colors used to show the contour can be chosen by 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 the exponential form for scientific notation.
7. Adams PostProcessor displays 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’.