LEVELS... Setting Number of Contour Levels, their Ranges, Colours and Number Format
LEVELS... Setting number of contour levels, their ranges, colours and number format
|
These default settings are shown right, the sub-menu. Contour Level settings are stored separately for each component category. If for example the number of levels is changed to 13 and the contour levels are set to " "ined values for the "Stress" component category then these options will be used whenever a "Stress" component is plotted. As well as being stored for the "Stress" category the new settings will also become the default for any categories that the user has not explicitly stored settings for. If after setting the number of levels for "Stress" the user sets the number of levels for "Strain" to 10 then 10 will be used for "Strain" and for any categories that the user has not explicitly stored settings for. If the user then swaps back to "Stress" component the previously set number of levels (13) will be used. NOTE : If the data component is set to FORMABILITY then a special set of options will be displayed instead of this menu, see Special options for FORMABILITY.
|
Setting contour levels (Automatic, Max_&_Min, User_Defined and Linear/Logarithmic)By default contour levels are over all frames. This means that the maximum and minimum values are computed prior to each plot, and the resulting bands spaced evenly between these. Automatic contour bands can be computed in two ways:
|
|
|
In the figures above the contour levels have been set manually: the max and min values only are set in the left figure, user-defined levels for each band are set in the right figure.
|
| levels have been selected, and the upper and lower values defined. The intermediate values are interpolated linearly and filled in for you. They can then be changed manually by enabling the tick boxes. This will switch to user-defined contours explained next. |
|
|
The figure (right) shows the same panel set up for the plot in (b) above. ined levels have been chosen, and apart from the minimum and maximum one user-defined level has been specified. The levels explicitly specified can have uneven intervals. When the tick boxes for levels are off, the threshold value is calculated with uniform intervals. Also, it is possible to turn off the first and/or last level, which will then be calculated automatically like in . New levels for user-defined contours can be inserted or existing levels deleted with the popups at the text boxes with the band threshold values. User-defined contours are only meaningful when the levels explicitly specified are in monotonic order. When this is not the case, the ticked levels can be sorted into ascending order with the button.
|
|
All levels between the minimum and the maximum will be interpolated linearly by default such that all bands have got the same width. This also applies to User defined levels where checkboxes are off. As alternative to that Linear interpolation there is Logarithmic interpolation, where the factor to get from one threshold to the next will always be the same. Between any two positive numbers this is the same thing as replacing them with their logarithm, interpolating linearly and reverse the logarithm. For example, logarithmic interpolation with 6 levels from 1 to 1000000 will give the log values 0 to 6, and interpolated values would be 10^0, 10^1, 10^2,... 10^6. Logarithmic interpolation is also available between two negative numbers, for example 6 levels from -1000000 to -1 would give thresholds -10^6, -10^5, ..., -10^1, -10^0. When logarithmic interpolation between zero and a non-zero number or between two numbers of opposite signs are requested, D3PLOT will automatically insert numbers close to zero and interpolate the negative and positive ranges logarithmically separately. By default it will divide the extremal thresholds by 2 recursively, but other factors can be obtained by switching to user defined contour levels where thresholds close to zero are specified explicitly with checkboxes turned on. |
|
|
The switch will put an exponent on each contour bar value rather than one exponent at the bottom of the bar that applies to all values. This is useful if the scale has been converted to a log scale so that the individual values can be shown with enough precision. |
|
Computing contour bands over multiple windows and models
Where there is more than one window, possibly showing a different component,
on a model; or more than one model in the database then contour levels
are computed as follows:
|
|
| contours: |
For each active window ( Wn tab selected):
|
| contours: |
For each active window ( Wn tab selected):
|
Applying the same contour bands to all windows
It is often the case that you have several windows, and you want to have
the same contour bands in all of them. To do this:
|
|
| If you want to specify the bands to be used: |
|
| If you want to find the envelope of all windows, derive a max & min value from that, then set it in all windows. |
|
| The second method works because when you switch from to D3PLOT computes the "envelope" of max/min values from all active windows, and applies this as the default values for mode. | |
It is important to understand the distinction between automatic contouring over animation frames , and automatic contouring at a given state .
Automatic contour bands during Animation
|
Case 1: When
mode
is in use.
During an animation , or when a particular frame of an animation is displayed statically:
These max and min values become the contour bounds used for the animation,
or when any frame of the animation is displayed, with the intention that
contour bands in any frame will have the same values.
|
|
Case 2: When mode is in use. Each frame of the animation is auto-scaled separately and whenever a frame is display, either statically or when animating, the contour bands will be "local" to that frame. In this mode the contour bands will usually change during each frame of an animation, therefore the values assigned to a particular contour band will not normally be the same in successive frames. |
|
Case 3: When mode is in use. During an animation , or when a particular frame of an animation is displayed statically:
These max and min values across all frames and windows in the current page become the contour bounds used for the animation, or when any frame of the animation is displayed, with the intention that contour bands in any frame will have the same values. |
Commands which display animation frames are:
- [ > ] Play to initiate an animation, either at the top of a graphics window or in the "States" panel.
- Any of the frame positioning commands either at the top of a graphics window or in the "States" panel.
- Using the state slider at the top of a graphics window.
- Using the <shift> + <arrow key> short cut to toggle through frames.
Automatic contour bands during static state display
During static display of a specific state :
- For each window D3PLOT will find the max and min of all models in that window at that state only.
If you subsequently move on to another state then the contour bounds will change as the new max and min values for that state are used instead.
Commands which display static states are:
- Any explicit data plotting command (eg , , ..) while not animating.
- Using the state slider in the "States" panel.
- Setting an explicit state number or time in the "States" panel.
- Using the <arrow keys> (no shift) to toggle through states.
A useful trick if you want to "animate" a series of states, but to auto scale contours to each state individually, is to use the <arrow keys>: hold them down letting them auto-repeat and D3PLOT will cycle through states with specific contour bands for each state.
Why is there a distinction between "frames" and "states"?
It is true that for most transient analyses "frames" will be equivalent to "states", however there are some cases where this is not the case:
- When plots are interpolated by time the frame vs state equivalence no longer holds, and typically there are many more frames.
- The user can choose to animate only a subset of the available states, reducing the number of frames.
- In frequency domain (modeshape) analyses each "state" is a mode, and animation frames cycle through +/- 180 degrees at that mode.
- Similarly "static" analyses with a series of loadcases use frames to animate each case in a quasi-modal fashion.
Preserving this distinction makes D3PLOT more flexible and provides more options for contouring animations.
For more details about animation, frames and states, and how to specify them, see Animation How to Display, Control, Store and Retrieve Animation Sequences on Animation.
Clicking on the contour bar to set levels
On a data-bearing plot hover the cursor over the contour level bands, and the cursor symbol will change to CONT/OPTS , and the following options are then available:
Restriction to a band is carried out using the function described in LIMITING_VALUES... Limiting What is Contoured by Value Range . In effect the functions here set the upper and lower bounds, and turn on limiting. You can adjust these further by hand if you wish. |
||||||||||||||||||
Changing contour band coloursBy default colours range from blue (low value) to magenta (high value), and the colour range is set up automatically. Internally there are 15 standard colours to choose from, and any contour band may be assigned any colour. To change a colour click on its number then select an alternative standard colour from the panel, or define your own arbitrary colour.
|
|
|
The default colours are not colour-blind friendly and when printed in greyscale, for example in a report, it is not possible to distinguish the different contour bands. |
![]() |
|
|
![]() |
![]() |
| Note 1: | Contour bands define the upper and lower values of each discrete band. For solid contoured plots (i.e. , ) each band lies between these limits. For line contoured ) plots each line will lie at the mid-point of its band. |
| Note 2: | Colour tables for contours are stored separately for each number of contour levels. So if you change colours for (say) 6 contour levels this will not affect colours for any other number of levels. |
| Note 3: | During shaded-image plots the current number of contour levels is mapped onto 21 colour bands, interpolating linearly, regardless of the actual number of bands selected. This is to improve the colour resolution of plots. As a consequence colours are also interpolated within these 21 bands from the set here. Thus defining more contour levels will give finer control over the colours used in shaded-image plots. |
| Note 4: | Whichever way they are defined, contour bands must be in ascending, monotonic order. This is particularly significant for mode: you will not be permitted to create bands that have zero or negative intervals. |
Number format : Controlling the number format of contour valuesBy default D3PLOT tries to work out a sensible number format to display the contour values in. In some cases the user may want to change the default behavior and this can be achieved here.
|
|
|
You can select either 'Scientific', 'General' or 'Manual' to control how the numbers are formatted. The number of decimal places used can be set for 'Scientific' and 'General' formats. For the 'Manual' format both the number of decimal places and the exponent value can be set. |
|
|
The Automatic Transparency option can be used to automatically set the transparency of entities based on the data values being plotted on them.
In complex plots it is often difficult to locate minimum and maximum values as they are often hidden behind other entities. Although entities can be blanked to reveal these "hidden" parts this is sometimes unsatisfactory as a solution.
By varying the transparency of entities it is possible to view these minimum and maximum values while still viewing the whole structure.
This option affects the transparency of entities in SI, CT and CL plots.
Transparency Ramp
These options control how the transparency levels are calculated for the data values being plotted.
| Magnitude | Transparency of entities is scaled by the magnitude of the data values. | |
| Min -> Max | Transparency is scaled from the minimum data value (clear) to the maximum (opaque). | |
| Max -> Min | Transparency is scaled from the maximum data value (clear) to the minimum (opaque). | |
| Order |
|

Default SI plot

SI plot with default automatic transparency options

SI plot with transparency scaled from Min ->Max
These options control the minimum and maximum transparency values that are used when calculating the transparency ramp.
The values must lie in the range 0 (clear) to 100 (opaque).
A separate transparency value can also be defined that is used for all items that are not being contoured.

SI plot with transparency scaled from Min ->Max and a minimum transparency value of 30

SI plot with transparency scaled from Min ->Ma and uncontoured items set to 100 (opaque)
Special options for FORMABILITY
If the data component is set to FORMABILITY (in the Metal Forming category) then the Contour Levels menu is replaced with the options opposite, for more details see METAL FORMING.

If an internal face has a higher or lower value then it is reported in the top left of the window but the value is not used for the contour bar range.

As an alternative to the explicit methods of setting contour bands described above it is also possible to set and restrict values by clicking on the contour band display itself.

To address this there are some new contour ramps which
can be selected from the popup above the contour ramp colours. These are colour-blind friendly
and when printed in greyscale each contour band is distinguishable from the others.

