fortplot
fortplot Documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
format_power_of_ten_label
Function
16 statements
Source File
fortplot_tick_formatting.f90
fortplot_tick_formatting
format_power_of_ten_label
Contents
public function format_power_of_ten_label(value) result(formatted)
Build a mathtext-friendly power-of-ten label: 10^{n} or -10^{n}
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=wp),
intent(in)
::
value
Return Value
character(len=20)