Defines a custom colormap that utilizes the FORCOLORMAP library to provide the map.
More...
|
procedure, public | get_color_string custom_get_clr |
| Gets the GNUPLOT string defining the color distribution.
|
|
procedure, public | set_colormap custom_set |
| Sets the FORCOLORMAP colormap object.
|
|
procedure, public | get_colormap custom_get |
| Gets a pointer to the FORCOLORMAP colormap object.
|
|
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.
|
|
|
class(cmap), pointer, private | m_map => null() |
|
|
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.
|
|
Defines a custom colormap that utilizes the FORCOLORMAP library to provide the map.
Definition at line 2604 of file fplot_core.f90.
◆ custom_final()
final fplot_core::custom_colormap::custom_final |
|
final |
◆ get_color_string()
procedure, public fplot_core::custom_colormap::get_color_string |
|
virtual |
◆ get_colormap()
procedure, public fplot_core::custom_colormap::get_colormap |
Gets a pointer to the FORCOLORMAP colormap object.
- Syntax
- Parameters
-
- Returns
- A pointer to the FORCOLORMAP colormap object.
Definition at line 2649 of file fplot_core.f90.
◆ set_colormap()
procedure, public fplot_core::custom_colormap::set_colormap |
Sets the FORCOLORMAP colormap object.
- Syntax
subroutine set_colormap(class(custom_colormap) this, class(cmap) x, optional class(errors) err)
- Parameters
-
[in,out] | this | The custom_colormap object. |
[in] | x | The FORCOLORMAP colormap object. The custom_colormap object stores a copy of this object; therefore, any changes made to x after calls to this routine will not impact the behavior of the custom_colormap object. |
[in,out] | err | An optional errors-based object that if provided can be used to retrieve information relating to any errors encountered during execution. If not provided, a default implementation of the errors class is used internally to provide error handling. Possible errors and warning messages that may be encountered are as follows.
- PLOT_OUT_OF_MEMORY_ERROR: Occurs if a memory allocation error occurs.
|
Definition at line 2639 of file fplot_core.f90.
◆ m_map
class(cmap), pointer, private fplot_core::custom_colormap::m_map => null() |
|
private |
The documentation for this type was generated from the following file: