-
-
Notifications
You must be signed in to change notification settings - Fork 362
Closed
Description
I was trying to rotate a plot (and axis) to produce a visualization like this one below:

I've posted the question and the following answer was given:
fig = Figure()
b = Axis(fig[1, 1])
scene = Scene(fig.scene)
campixel!(scene)
ax = Axis(scene, bbox = MakieLayout.BBox(-100, 100, -100, 100))
for s in (scene, ax.scene)
Makie.rotate!(s, Vec3f(0,0,1), -pi/4)
translate!(s, Vec3f(300, 300, 100))
end
figUnfortunately, this does not work on CairoMakie. As pointed out by @ffreyer who posted this solution: "This works for me in GLMakie but CairoMakie still has two problems - text gets transformed differently and disappears, and the background pane of the rotated axis doesn’t draw over the normal axis. I think these are things that need to fixed in CairoMakie though."
Metadata
Metadata
Assignees
Labels
No labels