I would like to see the two blue scatter points as if they were plotted on the 2D XY plane. Is there a way to do this?
I read the documentation and tried finding something similar online, but couldn’t. Maybe I’m not familiar with the terminology to ask a proper question .
If that makes sense, I’d like them to turn into tilted ellipses to give them proper perspective in the plot (as if they were 2D images drawn on the floor of the 3D box).
scatter is not really made for these kinds of marker transformations I think, at least I tried markerspace = :data and that didn’t look correct in 3d (maybe that’s just an implementation omission in CairoMakie though).
You could use poly! and that will transform the coordinates accordingly:
scatter is not really made for these kinds of marker transformations I think, at least I tried markerspace = :data and that didn’t look correct in 3d (maybe that’s just an implementation omission in CairoMakie though).
Billboarding (that markers face the camera) isn’t controlled by markerspace. You need to set rotation for that. Here you can use Vec3f(0,0,1) to turn billboarding off and have marker facing upwards. This should work in all backends nowadays. (CairoMakie doesn’t apply perspective projection to markers but iirc Axis3 has very little of that by default)
Edit: Turning off billboarding requires both markerspace = :data and rotation