fortplot_tick_budget Module

Matplotlib Axis.get_tick_space and MaxNLocator(nbins='auto').



Functions

public pure function axis_tick_budget(length_pt, horizontal, font_pt) result(n)

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: length_pt
logical, intent(in) :: horizontal
real(kind=wp), intent(in), optional :: font_pt

Return Value integer

public pure function raster_tick_budget(length_px, dpi, horizontal, configured_size) result(n)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: length_px
real(kind=wp), intent(in) :: dpi
logical, intent(in) :: horizontal
real(kind=wp), intent(in), optional :: configured_size

Return Value integer