3D axes rendering module for projecting 3D axis frames to 2D
Provides clean, efficient routines for rendering 3D coordinate frames with proper tick marks and labels aligned to visible axis segments.
Draw complete 3D axes frame with ticks and labels
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_context), | intent(inout) | :: | ctx | |||
| real(kind=wp), | intent(in) | :: | x_min | |||
| real(kind=wp), | intent(in) | :: | x_max | |||
| real(kind=wp), | intent(in) | :: | y_min | |||
| real(kind=wp), | intent(in) | :: | y_max | |||
| real(kind=wp), | intent(in) | :: | z_min | |||
| real(kind=wp), | intent(in) | :: | z_max | |||
| logical, | intent(in), | optional | :: | fill_panes | ||
| real(kind=wp), | intent(in), | optional | :: | label_gap_px |
Draw the box spines that lie in front of the data. Called after the data is rendered so near spines occlude curves and surfaces, while the far spines drawn by draw_3d_axes stay behind the data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_context), | intent(inout) | :: | ctx | |||
| real(kind=wp), | intent(in) | :: | x_min | |||
| real(kind=wp), | intent(in) | :: | x_max | |||
| real(kind=wp), | intent(in) | :: | y_min | |||
| real(kind=wp), | intent(in) | :: | y_max | |||
| real(kind=wp), | intent(in) | :: | z_min | |||
| real(kind=wp), | intent(in) | :: | z_max |