Hello everyone,
I would like to ask for advice on how to create a 3D coordinate axis cross that includes positive and negative directions of all axes (X+, X−, Y+, Y−, Z+, Z−), similar to how it is shown in GeoGebra 3D.
I need the axis system to:
-
display the X, Y, and Z axes intersecting at the origin (0, 0, 0),
-
clearly show both positive and negative directions,
-
include ticks (tick marks / graduations) along each axis,
-
optionally use labels or different colors for better clarity.
Could you please advise:
-
whether VTK provides a built-in solution for axes with ticks,
-
or what is the recommended way to build this manually,
-
and how to control tick spacing and labeling?
Any examples, code snippets, or references would be very helpful.
Thank you for your time and help!