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

Provides a container for plot data. More...

Inheritance diagram for fplot_core::plot_data:
fplot_core::plot_object fplot_core::plot_data_colored fplot_core::surface_plot_data fplot_core::tri_surface_plot_data fplot_core::filled_plot_data fplot_core::plot_data_bar fplot_core::plot_data_error_bars fplot_core::plot_data_tri_2d fplot_core::scatter_plot_data fplot_core::vector_field_plot_data fplot_core::plot_data_histogram fplot_core::plot_data_2d fplot_core::plot_data_3d

Public Member Functions

procedure, public get_name pd_get_name
 Gets the name to associate with this data set.
 
procedure, public set_name pd_set_name
 Sets the name to associate with this data set.
 
procedure(pd_get_string_result), deferred, public get_data_string pd_get_string_result
 Gets the GNUPLOT command string containing the actual data to plot.
 
- Public Member Functions inherited from fplot_core::plot_object
procedure(get_string_result), deferred, public get_command_string get_string_result
 Returns the appropriate GNUPLOT command string to define the plot object properties.
 

Private Attributes

character(len=plotdata_max_name_lengthm_name = ""
 The name of the data set.
 

Detailed Description

Provides a container for plot data.

Definition at line 1676 of file fplot_core.f90.

Member Function/Subroutine Documentation

◆ get_data_string()

procedure(pd_get_string_result), deferred, public fplot_core::plot_data::get_data_string
pure virtual

◆ get_name()

procedure, public fplot_core::plot_data::get_name

Gets the name to associate with this data set.

Syntax
character(len = :) function, allocatable get_name(class(plot_data) this)
Parameters
[in]thisThe plot_data object.
Returns
The name.

Definition at line 1690 of file fplot_core.f90.

◆ set_name()

procedure, public fplot_core::plot_data::set_name

Sets the name to associate with this data set.

Syntax
subroutine set_name(class(plot_data) this, character(len = *) txt)
Parameters
[in,out]thisThe plot_data object.
[in]txtThe name.

Definition at line 1700 of file fplot_core.f90.

Member Data Documentation

◆ m_name

character(len = plotdata_max_name_length) fplot_core::plot_data::m_name = ""
private

The name of the data set.

Definition at line 1679 of file fplot_core.f90.


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