fortplot
fortplot Documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
format_tick_value
Function
23 statements
Source File
fortplot_ticks.f90
fortplot_ticks
format_tick_value
Contents
public function format_tick_value(value, range) result(formatted)
Format tick value based on data range like matplotlib
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=wp),
intent(in)
::
value
real(kind=wp),
intent(in)
::
range
Return Value
character(len=20)