ITADN

3D contour plots fail with reversed axes

#5649Openchriswaudby 创建于 2026-05-29
bug
C
chriswaudbycommented
3D contour plots fail to render correctly when using reversed axes. This seems to depend on the handedness of the Axis3 - flipping 1 or 3 axes causes the error, but if 2 axes are reversed the plot renders correctly. <img width="712" height="590" alt="Image" src="https://github.com/user-attachments/assets/39e1e170-559a-4c42-a93d-78db05c641b1" /> - [x] what version of Makie are you running? (`]st -m Makie`) Makie v0.24.10 GLMakie v0.13.10 - [x] can you reproduce the bug with a fresh environment ? (`]activate --temp; add Makie`) yes (using GLMakie) - [x] What platform + GPU are you on? MacBook Air 13-inch, M3, 2024 - [x] Which backend are you using? (GLMakie, CairoMakie, WGLMakie, RPRMakie) GLMakie - [x] Please provide a minimal example of the failing code. If the problem is with the visualization, please provide a picture or video of it. ```julia using GLMakie dat=randn(10,10,10); fig=Figure() ax1=Axis3(fig[1,1], title="normal") contour!(ax1, dat) ax2=Axis3(fig[1,2], xreversed=true, title="x reversed") contour!(ax2, dat) ax3=Axis3(fig[1,3], yreversed=true, title="y reversed") contour!(ax3, dat) ax4=Axis3(fig[1,4], zreversed=true, title="z reversed") contour!(ax4, dat) ax5=Axis3(fig[2,1], xreversed=true, yreversed=true, title="xy reversed") contour!(ax5, dat) ax6=Axis3(fig[2,2], xreversed=true, zreversed=true, title="xz reversed") contour!(ax6, dat) ax7=Axis3(fig[2,3], yreversed=true, zreversed=true, title="yz reversed") contour!(ax7, dat) ax8=Axis3(fig[2,4], xreversed=true, yreversed=true, zreversed=true, title="xyz reversed") contour!(ax8, dat) ```
1 条评论