You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in ParaView:
and in Trixi2Img:
Furthermore the axes should be labeled in Trixi2Img (especially for 3d data).
We should also think about adding the slice plane to 3d images, so it's always clear at which plane we are looking.
The text was updated successfully, but these errors were encountered:
I dug a little and found that this is due to the contourf function from Plots itself.
When the plot is built from a matrix the first matrix dimension corresponds to the y-axis while the second matrix dimension corresponds to the x-axis.
If I transpose the matrix first, I will get the correct image.
I am not sure if this is the correct fix here, but I created a pull request that does exactly this.
Thank you. So the correct fix would be to call contourf with match_dimensions=true. I will create a new pull request once trixi-framework/Trixi2Img.jl#18 is merged as this PR is based on it (axis labels for 3d slices require different logic).
The axes seem to be inverted in every image. For example here is the generated image for the output of
in ParaView:


and in Trixi2Img:
Furthermore the axes should be labeled in Trixi2Img (especially for 3d data).
We should also think about adding the slice plane to 3d images, so it's always clear at which plane we are looking.
The text was updated successfully, but these errors were encountered: