fortplot
Examples
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
fortplot_contour_level_calculation
Module
120 statements
Source File
fortplot_contour_level_calculation.f90
fortplot_contour_level_calculation
Contents
Subroutines
compute_default_contour_levels
Default contour level generation compatible with matplotlib MaxNLocator
Uses
iso_fortran_env
Subroutines
public subroutine
compute_default_contour_levels
(z_min, z_max, levels)
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=wp),
intent(in)
::
z_min
real(kind=wp),
intent(in)
::
z_max
real(kind=wp),
intent(out),
allocatable
::
levels
(:)