fplot 1.7.1
A Fortran library providing a convenient interface for plotting with Gnuplot.
Loading...
Searching...
No Matches
fplot_core::parula_colormap Type Reference

Defines a colormap equivalent to the MATLAB parula colormap. More...

Inheritance diagram for fplot_core::parula_colormap:
fplot_core::colormap fplot_core::plot_object

Public Member Functions

procedure, public get_color_string pcm_get_clr
 Gets the GNUPLOT string defining the color distribution.
 
- Public Member Functions inherited from fplot_core::colormap
procedure, public get_command_string cm_get_cmd
 Gets the GNUPLOT command string to represent this colormap object.
 
procedure, public get_label cm_get_label
 Gets the label to associate with the colorbar.
 
procedure, public set_label cm_set_label
 Sets the label to associate with the colorbar.
 
procedure, public get_horizontal cm_get_horizontal
 Gets a logical value determining if the colormap should be drawn horizontally and below the plot.
 
procedure, public set_horizontal cm_set_horizontal
 Sets a logical value determining if the colormap should be drawn horizontally and below the plot.
 
procedure, public get_draw_border cm_get_draw_border
 Gets a logical value determining if the border should be drawn.
 
procedure, public set_draw_border cm_set_draw_border
 Sets a logical value determining if the border should be drawn.
 
procedure, public get_show_tics cm_get_show_tics
 Gets a logical value determining if the tic marks should be drawn.
 
procedure, public set_show_tics cm_set_show_tics
 Sets a logical value determining if the tic marks should be drawn.
 

Additional Inherited Members

- Public Attributes inherited from fplot_core::colormap
logical m_horizontal = .false.
 The colormap should be drawn horizontally.
 
logical m_drawborder = .true.
 Draw the colormap border.
 
logical m_showtics = .true.
 Show the tic marks.
 

Detailed Description

Defines a colormap equivalent to the MATLAB parula colormap.

Definition at line 2555 of file fplot_core.f90.

Member Function/Subroutine Documentation

◆ get_color_string()

procedure, public fplot_core::parula_colormap::get_color_string
virtual

Gets the GNUPLOT string defining the color distribution.

Syntax
character(len = :) function, allocatable get_color_string(class(parula_colormap) this)
Parameters
[in]thisThe parula_colormap object.
Returns
The command string.

Implements fplot_core::colormap.

Definition at line 2566 of file fplot_core.f90.


The documentation for this type was generated from the following file: