Raster tick marks and tick labels rendering functionality (primary axes)
Extracted from fortplot_raster_axes.f90 for single responsibility principle
Variables
| Type |
Visibility | Attributes |
|
Name |
| Initial | |
|
real(kind=wp),
|
public, |
parameter
|
:: |
MAJOR_TICK_WIDTH_PT |
= |
0.8_wp |
matplotlib's rcParams xtick.major.width / ytick.major.width.
|
|
real(kind=wp),
|
public, |
parameter
|
:: |
MINOR_TICK_WIDTH_PT |
= |
0.6_wp |
matplotlib's rcParams xtick.minor.width / ytick.minor.width.
|
Functions
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(raster_image_t),
|
intent(in) |
|
|
:: |
raster |
|
Return Value
real(kind=wp)
Subroutines
Arguments
| Type |
Intent | Optional | 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 |
|
Arguments
| Type |
Intent | Optional | 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 |
|
Arguments
| Type |
Intent | Optional | 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 |
|
Arguments
| Type |
Intent | Optional | 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 |
|
Arguments
| Type |
Intent | Optional | 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 |
|
Arguments
| Type |
Intent | Optional | 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 |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
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 |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
xscale |
|
|
real(kind=wp),
|
intent(in) |
|
|
:: |
symlog_threshold |
|
|
type(plot_area_t),
|
intent(in) |
|
|
:: |
plot_area |
|
|
logical,
|
intent(out) |
|
|
:: |
visibility_mask(size(xticks)) |
|