fortplot_ascii_secondary_axes Module

ASCII backend secondary axis rendering

Handles twin-axes tick labels for the ASCII backend. Separated from the rendering pipeline to keep module size compliant.



Subroutines

public subroutine ascii_draw_secondary_x_axis_top(backend, xscale, symlog_threshold, x_min, x_max, xlabel, date_format)

Draw top x-axis tick labels for ASCII backend

Arguments

Type IntentOptional Attributes Name
type(ascii_context), intent(inout) :: backend
character(len=*), intent(in) :: xscale
real(kind=wp), intent(in) :: symlog_threshold
real(kind=wp), intent(in) :: x_min
real(kind=wp), intent(in) :: x_max
character(len=:), intent(in), optional, allocatable :: xlabel
character(len=*), intent(in), optional :: date_format

public subroutine ascii_draw_secondary_y_axis(backend, yscale, symlog_threshold, y_min, y_max, ylabel, date_format)

Draw right y-axis tick labels for ASCII backend

Arguments

Type IntentOptional Attributes Name
type(ascii_context), intent(inout) :: backend
character(len=*), intent(in) :: yscale
real(kind=wp), intent(in) :: symlog_threshold
real(kind=wp), intent(in) :: y_min
real(kind=wp), intent(in) :: y_max
character(len=:), intent(in), optional, allocatable :: ylabel
character(len=*), intent(in), optional :: date_format