-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Poor behavior for plot yields no data cases #19893
Comments
This originates from @nDimensionalSpace |
@nDimensionalSpace, a clumsy work-around in the meantime is to manually set the mesh plot's opaque mode to on and hide the no-data Pseudcolor plot. If its a big enough issue, we can probably craft some Python CLI code that might provide a 1-button click solution for this as a macro in the GUI. Call it |
Even with only one plot that has been thresholded away, you still see the legend and even the spatial dataset bounds. Can be helpful when folks make a mistake with filter parameters. |
@markcmiller86: Clearly, there are ways to manage this manually . . . I will note that the use case for this observation seemed to be animations/movies. I don't think the person who noticed this is in a huge hurry, so no heroic efforts are required. I will post some screenshots shortly. |
@cyrush: Oh interesting . . . If I understand correctly, these behaviors are meant to address another use case, where a state of zero length data is induced accidentally. Maybe there should exist a flag to indicate whether the data writer is intentionally writing zero length data; if intentional, don't do all of the screen modifications, otherwise, yes do screen modifications. |
As follows:
I guess the whole point here is that the state of the data that currently visualizes like "fig2" should look more like that of "fig3", at least for cases where the field values of a variable have been intentionally omitted. |
Describe the bug
globe.silo
mesh
rect3d.silo
d
Note that you get the
rect3d
box down inside the center ofglobe.silo
. That is fine. With the globe mesh plot opaque mode in auto, it will display wireframe to reveal the pc plot.Ok, now lets use threshold to create a
plot yielded no data condition
. Add threshold operator to just the PC plot ofd
. Set min of operator above the max value ind
, say 1. Hit apply.You get the
plot yielded no data
message...which is fine. But, you also get the legend and color bar for the PC plot and you get the wireframe mesh plot ofglobe.silo
. In other words, even though VisIt has told you that the plot has no data, it nonetheless is treating the plot like it does have data.What it should do is NOT display the legend and color bar (it might be ok to show something like
Pseudocolor: no data
as a legend) and the mesh plot should not go into wireframe mode. In fact, I think having the legend displayPseudocolor: no data
and NOT put up the warning aboutplot yielded no data
is probably a much better behavior IN GENERAL.The text was updated successfully, but these errors were encountered: