fplot 1.7.1
A Fortran library providing a convenient interface for plotting with Gnuplot.
|
Defines a 2D triangulated data set. More...
Public Member Functions | |
procedure, public | get_data_string pdt2d_get_data_cmd |
Gets the GNUPLOT command string containing the actual data to plot. | |
procedure, public | get_command_string pdt2d_get_cmd |
Returns the appropriate GNUPLOT command string to define the plot object properties. | |
procedure, public | define_data pdt2d_define_data |
Defines the data to plot. | |
procedure, public | get_line_width pdt2d_get_line_width |
Gets the width of the lines used to draw the triangulation. | |
procedure, public | set_line_width pdt2d_set_line_width |
Sets the width of the lines used to draw the triangulation. | |
procedure, public | get_line_style pdt2d_get_line_style |
procedure, public | set_line_style pdt2d_set_line_style |
Public Member Functions inherited from fplot_core::plot_data_colored | |
procedure, public | get_line_color pdc_get_line_color |
Gets the line color. | |
procedure, public | set_line_color pdc_set_line_color |
Sets the line color. | |
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 |
An array of the y-coordinates of each point. | |
integer(int32), dimension(:,:), allocatable | m_indices |
A 3-column matrix containing the indices of each triangle's vertex. | |
real(real32) | m_linewidth = 1.0 |
The line width. | |
integer(int32) | m_linestyle = LINE_SOLID |
The line style. | |
Public Attributes inherited from fplot_core::plot_data_colored | |
logical | m_useautocolor = .true. |
Let the object choose colors automatically. | |
integer(int32) | m_colorindex = 1 |
The color index to use, assuming we're using auto color. | |
Private Attributes | |
real(real64), dimension(:), allocatable | m_x |
An array of the x-coordinates of each point. | |
Defines a 2D triangulated data set.
Definition at line 6911 of file fplot_core.f90.
procedure, public fplot_core::plot_data_tri_2d::define_data |
Defines the data to plot.
[in,out] | this | The plot_data_tri_2d object. |
[in] | tri | The triangulation data to plot. |
Definition at line 6936 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 6926 of file fplot_core.f90.
|
virtual |
Gets the GNUPLOT command string containing the actual data to plot.
Implements fplot_core::plot_data.
Definition at line 6925 of file fplot_core.f90.
procedure, public fplot_core::plot_data_tri_2d::get_line_style |
[in] | this | The plot_data_tri_2d object. |
Definition at line 6966 of file fplot_core.f90.
procedure, public fplot_core::plot_data_tri_2d::get_line_width |
Gets the width of the lines used to draw the triangulation.
[in] | this | The plot_data_tri_2d object. |
Definition at line 6946 of file fplot_core.f90.
procedure, public fplot_core::plot_data_tri_2d::set_line_style |
[in,out] | this | The plot_data_tri_2d object. |
[in] | x | The line style. The line style must be one of the following:
|
Definition at line 6982 of file fplot_core.f90.
procedure, public fplot_core::plot_data_tri_2d::set_line_width |
Sets the width of the lines used to draw the triangulation.
[in,out] | this | The plot_data_tri_2d object. |
[in] | x | The line width. |
Definition at line 6956 of file fplot_core.f90.
integer(int32), dimension(:,:), allocatable fplot_core::plot_data_tri_2d::m_indices |
A 3-column matrix containing the indices of each triangle's vertex.
Definition at line 6919 of file fplot_core.f90.
integer(int32) fplot_core::plot_data_tri_2d::m_linestyle = LINE_SOLID |
The line style.
Definition at line 6923 of file fplot_core.f90.
real(real32) fplot_core::plot_data_tri_2d::m_linewidth = 1.0 |
The line width.
Definition at line 6921 of file fplot_core.f90.
|
private |
An array of the x-coordinates of each point.
Definition at line 6914 of file fplot_core.f90.
real(real64), dimension(:), allocatable fplot_core::plot_data_tri_2d::m_y |
An array of the y-coordinates of each point.
Definition at line 6916 of file fplot_core.f90.