fplot 1.7.1
A Fortran library providing a convenient interface for plotting with Gnuplot.
|
Defines a multi-plot layout. More...
Public Member Functions | |
procedure, public | get_command_string mp_get_command |
Returns the appropriate GNUPLOT command string to define the plot object properties. | |
procedure, public | initialize mp_init |
Initializes the multiplot object. | |
procedure, public | get_row_count mp_get_rows |
Gets the number of rows of plots. | |
procedure, public | get_column_count mp_get_cols |
Gets the number of columns of plots. | |
procedure, public | get_plot_count mp_get_count |
Gets the number of plots. | |
procedure, public | get_title mp_get_title |
Gets the multiplot's title. | |
procedure, public | set_title mp_set_title |
Sets the multiplot's title. | |
procedure, public | draw mp_draw |
Launches GNUPLOT and draws the multiplot per the current state of the command list. | |
procedure, public | get mp_get |
Gets the requested plot object. | |
procedure, public | set mp_set |
Sets the requested plot object. | |
procedure, public | is_title_defined mp_has_title |
Gets a value determining if a title has been defined for the multiplot object. | |
procedure, public | get_terminal mp_get_term |
Gets the GNUPLOT terminal object. | |
procedure, public | save_file mp_save |
Saves a GNUPLOT command file. | |
procedure, public | get_font_name mp_get_font |
Gets the name of the font used for plot text. | |
procedure, public | set_font_name mp_set_font |
Sets the name of the font used for plot text. | |
procedure, public | get_font_size mp_get_font_size |
Gets the size of the font used by the plot. | |
procedure, public | set_font_size mp_set_font_size |
Sets the size of the font used by the plot. | |
Public Attributes | |
type(list) | m_plots |
The collection of plot objects. | |
integer(int32) | m_rows = 0 |
The number of rows of plots. | |
integer(int32) | m_cols = 0 |
The number of columns of plots. | |
character(len=plotdata_max_name_length) | m_title |
The page title. | |
logical | m_hastitle = .false. |
Has a title? | |
class(terminal), pointer | m_terminal => null() |
The BNUPLOT terminal object to target. | |
Defines a multi-plot layout.
Definition at line 5857 of file fplot_core.f90.
|
final |
Definition at line 5871 of file fplot_core.f90.
procedure, public fplot_core::multiplot::draw |
Launches GNUPLOT and draws the multiplot per the current state of the command list.
[in] | this | The multiplot object. |
[in] | persist | An optional parameter that can be used to keep GNUPLOT open. Set to true to force GNUPLOT to remain open; else, set to false to allow GNUPLOT to close after drawing. The default is true. |
[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.
|
Definition at line 5965 of file fplot_core.f90.
procedure, public fplot_core::multiplot::get |
Gets the requested plot object.
[in] | this | The multiplot object. |
[in] | i | The row index of the plot to retrieve. |
[in] | j | The column index of the plot to retrieve. |
Definition at line 5977 of file fplot_core.f90.
procedure, public fplot_core::multiplot::get_column_count |
Gets the number of columns of plots.
[in] | this | The multiplot object. |
Definition at line 5914 of file fplot_core.f90.
|
virtual |
Returns the appropriate GNUPLOT command string to define the plot object properties.
Implements fplot_core::plot_object.
Definition at line 5872 of file fplot_core.f90.
procedure, public fplot_core::multiplot::get_font_name |
Gets the name of the font used for plot text.
[in] | this | The multiplot object. |
Definition at line 6037 of file fplot_core.f90.
procedure, public fplot_core::multiplot::get_font_size |
Gets the size of the font used by the plot.
[in] | this | The multiplot object. |
Definition at line 6057 of file fplot_core.f90.
procedure, public fplot_core::multiplot::get_plot_count |
Gets the number of plots.
[in] | this | The multiplot object. |
Definition at line 5924 of file fplot_core.f90.
procedure, public fplot_core::multiplot::get_row_count |
Gets the number of rows of plots.
[in] | this | The multiplot object. |
Definition at line 5904 of file fplot_core.f90.
procedure, public fplot_core::multiplot::get_terminal |
Gets the GNUPLOT terminal object.
[in] | this | The multiplot object. |
Definition at line 6011 of file fplot_core.f90.
procedure, public fplot_core::multiplot::get_title |
Gets the multiplot's title.
[in] | this | The multiplot object. |
Definition at line 5934 of file fplot_core.f90.
procedure, public fplot_core::multiplot::initialize |
Initializes the multiplot object.
[in,out] | this | The multiplot object. |
[in] | term | An optional input that is used to define the terminal. The default terminal is a WXT terminal. The acceptable inputs are:
|
[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.
|
Definition at line 5894 of file fplot_core.f90.
procedure, public fplot_core::multiplot::is_title_defined |
Gets a value determining if a title has been defined for the multiplot object.
[in] | this | The multiplot object. |
Definition at line 6001 of file fplot_core.f90.
procedure, public fplot_core::multiplot::save_file |
Saves a GNUPLOT command file.
[in] | this | The multiplot object. |
[in] | fname | The filename. |
[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.
|
Definition at line 6027 of file fplot_core.f90.
procedure, public fplot_core::multiplot::set |
Sets the requested plot object.
[in,out] | this | The multiplot object. |
[in] | i | The row index of the plot to retrieve. |
[in] | j | The column index of the plot to retrieve. |
[in] | x | A pointer to the requested plot object. |
Definition at line 5989 of file fplot_core.f90.
procedure, public fplot_core::multiplot::set_font_name |
Sets the name of the font used for plot text.
[in,out] | this | The multiplot object. |
[in] | x | The font name. |
Definition at line 6047 of file fplot_core.f90.
procedure, public fplot_core::multiplot::set_font_size |
Sets the size of the font used by the plot.
[in,out] | this | The multiplot object. |
[in] | x | The font size, in points. If a value of zero is provided, the font size is reset to its default value; or, if a negative value is provided, the absolute value of the supplied value is utilized. |
Definition at line 6069 of file fplot_core.f90.
procedure, public fplot_core::multiplot::set_title |
Sets the multiplot's title.
[in,out] | this | The multiplot object. |
[in] | txt | The multiplot's title. The number of characters must be less than or equal to PLOTDATA_MAX_NAME_LENGTH; else, the text string is truncated. |
Definition at line 5946 of file fplot_core.f90.
integer(int32) fplot_core::multiplot::m_cols = 0 |
The number of columns of plots.
Definition at line 5863 of file fplot_core.f90.
logical fplot_core::multiplot::m_hastitle = .false. |
Has a title?
Definition at line 5867 of file fplot_core.f90.
type(list) fplot_core::multiplot::m_plots |
The collection of plot objects.
Definition at line 5859 of file fplot_core.f90.
integer(int32) fplot_core::multiplot::m_rows = 0 |
The number of rows of plots.
Definition at line 5861 of file fplot_core.f90.
class(terminal), pointer fplot_core::multiplot::m_terminal => null() |
The BNUPLOT terminal object to target.
Definition at line 5869 of file fplot_core.f90.
character(len = plotdata_max_name_length) fplot_core::multiplot::m_title |
The page title.
Definition at line 5865 of file fplot_core.f90.