fplot 1.7.1
A Fortran library providing a convenient interface for plotting with Gnuplot.
|
Provides a three-dimensional surface plot data set. More...
Public Member Functions | |
procedure, public | get_size surfd_get_size |
Gets the size of the stored data set. | |
procedure, public | get_x surfd_get_x |
Gets the requested X data point. | |
procedure, public | set_x surfd_set_x |
Sets the requested X data point. | |
procedure, public | get_y surfd_get_y |
Gets the requested Y data point. | |
procedure, public | set_y surfd_set_y |
Sets the requested Y data point. | |
procedure, public | get_z surfd_get_z |
Gets the requested Z data point. | |
procedure, public | set_z surfd_set_z |
Sets the requested Z data point. | |
procedure, public | get_use_wireframe surfd_get_wireframe |
Gets a value determining if a wireframe mesh should be displayed. | |
procedure, public | set_use_wireframe surfd_set_wireframe |
Sets a value determining if a wireframe mesh should be displayed. | |
procedure, public | get_command_string surfd_get_cmd |
Gets the GNUPLOT command string to represent this surface_plot_data object. | |
procedure, public | get_data_string surfd_get_data_cmd |
Gets the GNUPLOT command string containing the actual data to plot. | |
procedure, public | define_data surfd_set_data_1 |
Defines the data set. | |
Public Member Functions inherited from fplot_core::plot_data | |
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. | |
Public Attributes | |
real(real64), dimension(:,:), allocatable | m_y |
Stores the y-coordinate data. | |
real(real64), dimension(:,:), allocatable | m_z |
Stores the z-coordinate data. | |
logical | m_wireframe = .false. |
Set to true to display a wireframe of the surface; else, just a smooth surface will be drawn. | |
Private Attributes | |
real(real64), dimension(:,:), allocatable | m_x |
Stores the x-coordinate data. | |
Provides a three-dimensional surface plot data set.
Definition at line 4599 of file fplot_core.f90.
procedure, public fplot_core::surface_plot_data::define_data |
Defines the data set.
[in,out] | this | The surface_plot_data object. |
[in] | x | An M-by-N matrix containing the x-coordinate data. |
[in] | y | An M-by-N matrix containing the y-coordinate data. |
[in] | z | An M-by-N matrix containing the z-coordinate data. |
[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 4760 of file fplot_core.f90.
|
virtual |
Gets the GNUPLOT command string to represent this surface_plot_data object.
[in] | this | The surface_plot_data object. |
Implements fplot_core::plot_object.
Definition at line 4729 of file fplot_core.f90.
|
virtual |
Gets the GNUPLOT command string containing the actual data to plot.
[in] | this | The surface_plot_data object. |
Implements fplot_core::plot_data.
Definition at line 4740 of file fplot_core.f90.
procedure, public fplot_core::surface_plot_data::get_size |
Gets the size of the stored data set.
[in] | this | The suface_plot_data object. |
[in] | dim | The dimension of interest. Notice, data is stored as a 2D matrix (i.e. only 1 and 2 are valid inputs). |
Definition at line 4622 of file fplot_core.f90.
procedure, public fplot_core::surface_plot_data::get_use_wireframe |
Gets a value determining if a wireframe mesh should be displayed.
[in] | this | The surface_plot_data object. |
Definition at line 4706 of file fplot_core.f90.
procedure, public fplot_core::surface_plot_data::get_x |
Gets the requested X data point.
[in] | this | The surface_plot_data object. |
[in] | i | The row index. |
[in] | j | The column index. |
Definition at line 4634 of file fplot_core.f90.
procedure, public fplot_core::surface_plot_data::get_y |
Gets the requested Y data point.
[in] | this | The surface_plot_data object. |
[in] | i | The row index. |
[in] | j | The column index. |
Definition at line 4658 of file fplot_core.f90.
procedure, public fplot_core::surface_plot_data::get_z |
Gets the requested Z data point.
[in] | this | The surface_plot_data object. |
[in] | i | The row index. |
[in] | j | The column index. |
Definition at line 4682 of file fplot_core.f90.
procedure, public fplot_core::surface_plot_data::set_use_wireframe |
Sets a value determining if a wireframe mesh should be displayed.
[in,out] | this | The surface_plot_data object. |
[in] | x | Set to true if a wireframe mesh should be displayed; else, false to display a solid surface. |
Definition at line 4718 of file fplot_core.f90.
procedure, public fplot_core::surface_plot_data::set_x |
Sets the requested X data point.
[in,out] | this | The surface_plot_data object. |
[in] | i | The row index. |
[in] | j | The column index. |
[in] | x | The value. |
Definition at line 4646 of file fplot_core.f90.
procedure, public fplot_core::surface_plot_data::set_y |
Sets the requested Y data point.
[in,out] | this | The surface_plot_data object. |
[in] | i | The row index. |
[in] | j | The column index. |
[in] | x | The value. |
Definition at line 4670 of file fplot_core.f90.
procedure, public fplot_core::surface_plot_data::set_z |
Sets the requested Z data point.
[in,out] | this | The surface_plot_data object. |
[in] | i | The row index. |
[in] | j | The column index. |
[in] | x | The value. |
Definition at line 4694 of file fplot_core.f90.
logical fplot_core::surface_plot_data::m_wireframe = .false. |
Set to true to display a wireframe of the surface; else, just a smooth surface will be drawn.
Definition at line 4609 of file fplot_core.f90.
|
private |
Stores the x-coordinate data.
Definition at line 4602 of file fplot_core.f90.
real(real64), dimension(:,:), allocatable fplot_core::surface_plot_data::m_y |
Stores the y-coordinate data.
Definition at line 4604 of file fplot_core.f90.
real(real64), dimension(:,:), allocatable fplot_core::surface_plot_data::m_z |
Stores the z-coordinate data.
Definition at line 4606 of file fplot_core.f90.