Skip to content

How to more easily get consistent legend bounds in a VisIt pseudocolor animation? #20015

Discussion options

You must be logged in to vote

Here is some code you can cut-and-paste into a tab in VisIt's Controls->Command window
It performs some queries to retrieve the min and max over all timesteps, then uses those values to set up the Pseudocolor plot.
It finally removes the 'Min/Max' text from the legend (as that will always change with time).
This assumes you want to set min/max based on currently plotted variable, and that the Pseudocolor plot is the first one in the list and active in Window 1.

Once you paste in the the Command window, you can then Execute. Or Make macro. Macros once created will be available for you next time you run VisIt, in the Controls->Macros window.

# perform some queries to get the min/max over al…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jjramsey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants