fortplot
fortplot Documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
format_tick_value_consistent
Function
20 statements
Source File
fortplot_ticks.f90
fortplot_ticks
format_tick_value_consistent
Contents
public function format_tick_value_consistent(value, decimal_places) result(formatted)
Format tick value with consistent decimal places for uniform appearance
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=wp),
intent(in)
::
value
integer,
intent(in)
::
decimal_places
Return Value
character(len=20)