fortplot_raster_ticks_secondary Module

Secondary axis ticks (right/top) and minor ticks for raster backend Extracted from fortplot_raster_ticks for size compliance (refs #1694)



Subroutines

public subroutine raster_draw_y_axis_ticks_right(raster, width, height, plot_area, yscale, symlog_threshold, yticks, ytick_labels, ytick_colors, y_min, y_max)

Arguments

Type IntentOptional Attributes Name
type(raster_image_t), intent(inout) :: raster
integer, intent(in) :: width
integer, intent(in) :: height
type(plot_area_t), intent(in) :: plot_area
character(len=*), intent(in) :: yscale
real(kind=wp), intent(in) :: symlog_threshold
real(kind=wp), intent(in), contiguous :: yticks(:)
character(len=*), intent(in) :: ytick_labels(:)
integer, intent(in) :: ytick_colors(:,:)
real(kind=wp), intent(in) :: y_min
real(kind=wp), intent(in) :: y_max

public subroutine raster_draw_y_axis_tick_marks_only_right(raster, width, height, plot_area, yscale, symlog_threshold, yticks, ytick_colors, y_min, y_max)

Arguments

Type IntentOptional Attributes Name
type(raster_image_t), intent(inout) :: raster
integer, intent(in) :: width
integer, intent(in) :: height
type(plot_area_t), intent(in) :: plot_area
character(len=*), intent(in) :: yscale
real(kind=wp), intent(in) :: symlog_threshold
real(kind=wp), intent(in), contiguous :: yticks(:)
integer, intent(in) :: ytick_colors(:,:)
real(kind=wp), intent(in) :: y_min
real(kind=wp), intent(in) :: y_max

public subroutine raster_draw_y_axis_tick_labels_only_right(raster, width, height, plot_area, yscale, symlog_threshold, yticks, ytick_labels, y_min, y_max)

Arguments

Type IntentOptional Attributes Name
type(raster_image_t), intent(inout) :: raster
integer, intent(in) :: width
integer, intent(in) :: height
type(plot_area_t), intent(in) :: plot_area
character(len=*), intent(in) :: yscale
real(kind=wp), intent(in) :: symlog_threshold
real(kind=wp), intent(in), contiguous :: yticks(:)
character(len=*), intent(in) :: ytick_labels(:)
real(kind=wp), intent(in) :: y_min
real(kind=wp), intent(in) :: y_max

public subroutine raster_draw_x_axis_ticks_top(raster, width, height, plot_area, xscale, symlog_threshold, xticks, xtick_labels, xtick_colors, x_min, x_max)

Arguments

Type IntentOptional Attributes Name
type(raster_image_t), intent(inout) :: raster
integer, intent(in) :: width
integer, intent(in) :: height
type(plot_area_t), intent(in) :: plot_area
character(len=*), intent(in) :: xscale
real(kind=wp), intent(in) :: symlog_threshold
real(kind=wp), intent(in), contiguous :: xticks(:)
character(len=*), intent(in) :: xtick_labels(:)
integer, intent(in) :: xtick_colors(:,:)
real(kind=wp), intent(in) :: x_min
real(kind=wp), intent(in) :: x_max

public subroutine raster_draw_x_axis_tick_marks_only_top(raster, width, height, plot_area, xscale, symlog_threshold, xticks, xtick_colors, x_min, x_max)

Arguments

Type IntentOptional Attributes Name
type(raster_image_t), intent(inout) :: raster
integer, intent(in) :: width
integer, intent(in) :: height
type(plot_area_t), intent(in) :: plot_area
character(len=*), intent(in) :: xscale
real(kind=wp), intent(in) :: symlog_threshold
real(kind=wp), intent(in), contiguous :: xticks(:)
integer, intent(in) :: xtick_colors(:,:)
real(kind=wp), intent(in) :: x_min
real(kind=wp), intent(in) :: x_max

public subroutine raster_draw_x_axis_tick_labels_only_top(raster, width, height, plot_area, xscale, symlog_threshold, xticks, xtick_labels, x_min, x_max)

Arguments

Type IntentOptional Attributes Name
type(raster_image_t), intent(inout) :: raster
integer, intent(in) :: width
integer, intent(in) :: height
type(plot_area_t), intent(in) :: plot_area
character(len=*), intent(in) :: xscale
real(kind=wp), intent(in) :: symlog_threshold
real(kind=wp), intent(in), contiguous :: xticks(:)
character(len=*), intent(in) :: xtick_labels(:)
real(kind=wp), intent(in) :: x_min
real(kind=wp), intent(in) :: x_max

public subroutine raster_draw_x_minor_ticks(raster, width, height, plot_area, xscale, symlog_threshold, minor_ticks, x_min, x_max)

Arguments

Type IntentOptional Attributes Name
type(raster_image_t), intent(inout) :: raster
integer, intent(in) :: width
integer, intent(in) :: height
type(plot_area_t), intent(in) :: plot_area
character(len=*), intent(in) :: xscale
real(kind=wp), intent(in) :: symlog_threshold
real(kind=wp), intent(in), contiguous :: minor_ticks(:)
real(kind=wp), intent(in) :: x_min
real(kind=wp), intent(in) :: x_max

public subroutine raster_draw_y_minor_ticks(raster, width, height, plot_area, yscale, symlog_threshold, minor_ticks, y_min, y_max)

Arguments

Type IntentOptional Attributes Name
type(raster_image_t), intent(inout) :: raster
integer, intent(in) :: width
integer, intent(in) :: height
type(plot_area_t), intent(in) :: plot_area
character(len=*), intent(in) :: yscale
real(kind=wp), intent(in) :: symlog_threshold
real(kind=wp), intent(in), contiguous :: minor_ticks(:)
real(kind=wp), intent(in) :: y_min
real(kind=wp), intent(in) :: y_max