By “2d” here, do you mean that you want the text to be in a fixed position on the screen? If so, try eg text(position; text, space = :relative)
or :pixel
. To draw a line to the text from a position in the scene is a bit more complex but you can use e.g. Makie.project(scene, text_position, :relative, :data)
to get a position in data space that you can plot a line to in the scene.
1 Like