fplotlib_ticks module#

fplotlib_ticks (module)#

Variables

MAX_TICKSinteger, parameter, Default = 32

Procedures

nice_number (function)#

pure function nice_number(x, round_up) -> nice
Arguments:
xreal(kind=dp), intent(in)
round_uplogical, intent(in)
Returns:
nicereal(kind=dp)

log_minor_labelled (function)#

pure function log_minor_labelled(k, decades) -> yes
Arguments:
kinteger, intent(in)
decadesreal(kind=dp), intent(in)
Returns:
yeslogical

tick_decimals (function)#

pure function tick_decimals(locs, n) -> d
Arguments:
locsreal(kind=dp), intent(in), dimension(:)
ninteger, intent(in)
Returns:
dinteger

tick_decimals_at (function)#

pure function tick_decimals_at(locs, n, off, oom) -> d
Arguments:
locsreal(kind=dp), intent(in), dimension(:)
ninteger, intent(in)
offreal(kind=dp), intent(in)
oominteger, intent(in)
Returns:
dinteger

linear_ticks (subroutine)#

subroutine linear_ticks(vmin, vmax, nbins, ticks, n_ticks)
Arguments:
vminreal(kind=dp), intent(in)
vmaxreal(kind=dp), intent(in)
nbinsinteger, intent(in)
ticksreal(kind=dp), intent(out), dimension(MAX_TICKS)
n_ticksinteger, intent(out)

symlog_ticks (subroutine)#

subroutine symlog_ticks(vmin, vmax, ticks, n_ticks)
Arguments:
vminreal(kind=dp), intent(in)
vmaxreal(kind=dp), intent(in)
ticksreal(kind=dp), intent(out), dimension(MAX_TICKS)
n_ticksinteger, intent(out)

log_ticks (subroutine)#

subroutine log_ticks(vmin, vmax, ticks, n_ticks)
Arguments:
vminreal(kind=dp), intent(in)
vmaxreal(kind=dp), intent(in)
ticksreal(kind=dp), intent(out), dimension(MAX_TICKS)
n_ticksinteger, intent(out)

format_log_minor_to (subroutine)#

subroutine format_log_minor_to(v, s, n)
Arguments:
vreal(kind=dp), intent(in)
scharacter(len=*), intent(out)
ninteger, intent(out)

format_tick_to (subroutine)#

subroutine format_tick_to(v, is_log, s, n)
Arguments:
vreal(kind=dp), intent(in)
is_loglogical, intent(in)
scharacter(len=*), intent(out)
ninteger, intent(out)

format_tick_fixed (subroutine)#

subroutine format_tick_fixed(v, dec, s, n)
Arguments:
vreal(kind=dp), intent(in)
decinteger, intent(in)
scharacter(len=*), intent(out)
ninteger, intent(out)

tick_offset (subroutine)#

pure subroutine tick_offset(locs, n, vmin, vmax, off, oom, use_off, plo, phi)
Arguments:
locsreal(kind=dp), intent(in), dimension(:)
ninteger, intent(in)
vminreal(kind=dp), intent(in)
vmaxreal(kind=dp), intent(in)
offreal(kind=dp), intent(out)
oominteger, intent(out)
use_offlogical, intent(in), optional
plointeger, intent(in), optional
phiinteger, intent(in), optional

format_offset_text (subroutine)#

pure subroutine format_offset_text(off, oom, s, n)
Arguments:
offreal(kind=dp), intent(in)
oominteger, intent(in)
scharacter(len=*), intent(out)
ninteger, intent(out)

multiple_ticks (subroutine)#

pure subroutine multiple_ticks(vmin, vmax, base, t, n)
Arguments:
vminreal(kind=dp), intent(in)
vmaxreal(kind=dp), intent(in)
basereal(kind=dp), intent(in)
treal(kind=dp), intent(out), dimension(MAX_TICKS)
ninteger, intent(out)

format_percent (subroutine)#

pure subroutine format_percent(v, whole, dec, s, n)
Arguments:
vreal(kind=dp), intent(in)
wholereal(kind=dp), intent(in)
decinteger, intent(in)
scharacter(len=*), intent(out)
ninteger, intent(out)

format_grouped (subroutine)#

pure subroutine format_grouped(v, dec, s, n)
Arguments:
vreal(kind=dp), intent(in)
decinteger, intent(in)
scharacter(len=*), intent(out)
ninteger, intent(out)

fix_minus (subroutine)#

pure elemental subroutine fix_minus(s, n)
Arguments:
scharacter(len=*), intent(inout)
ninteger, intent(inout)