fplot 1.7.1
A Fortran library providing a convenient interface for plotting with Gnuplot.
|
Defines a two-dimensional vector-field plot data set. More...
Public Member Functions | |
procedure, public | get_data_string vfpd_get_data_cmd |
Gets the GNUPLOT command string containing the actual data to plot. | |
procedure, public | get_command_string vfpd_get_cmd |
Gets the GNUPLOT command string to represent this vector_field_plot_data object. | |
procedure, public | define_data vfpd_define_data |
Defines the data set. | |
procedure, public | get_arrow_size vfpd_get_arrow_size |
Gets the scaling factor used to determine the arrow size. | |
procedure, public | set_arrow_size vfpd_set_arrow_size |
Sets the scaling factor used to determine the arrow size. | |
procedure, public | get_fill_arrow vfpd_get_fill_arrow |
Gets a value determining if the arrow heads should be filled. | |
procedure, public | set_fill_arrow vfpd_set_fill_arrow |
Sets a value determining if the arrow heads should be filled. | |
procedure, public | get_use_data_dependent_colors vfpd_get_use_data_dependent_colors |
Gets a value indicating if data-dependent coloring should be used. This is defined by supplying information on how to scale the coloring when calling define_data. | |
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) | m_arrowsize = 1.0d0 |
The vector size (scaling factor). | |
logical | m_filledheads = .false. |
Fill the arrow heads? | |
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_data |
An M-by-N-by-4 array containing the x, y, dx, and dy plot data points. Optionally, a 5th page can be added to define the color for each arrow. | |
Defines a two-dimensional vector-field plot data set.
Definition at line 7212 of file fplot_core.f90.
procedure, public fplot_core::vector_field_plot_data::define_data |
Defines the data set.
[in,out] | this | The vector_field_plot_data object. |
[in] | x | An M-by-N matrix containing the x-locations of each arrow's origin. |
[in] | y | An M-by-N matrix containing the y-locations of each arrow's origin. |
[in] | dx | An M-by-N matrix containing the x-direction of each arrow. |
[in] | dy | An M-by-N matrix containing the y-direction of each arrow. |
[in] | c | An optional M-by-N matrix containing information on how to color the arrows. The colors are determined by the active colormap. |
[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 7267 of file fplot_core.f90.
procedure, public fplot_core::vector_field_plot_data::get_arrow_size |
Gets the scaling factor used to determine the arrow size.
[in] | this | The vector_field_plot_data object. |
Definition at line 7277 of file fplot_core.f90.
|
virtual |
Gets the GNUPLOT command string to represent this vector_field_plot_data object.
[in] | this | The vector_field_plot_data object. |
Implements fplot_core::plot_object.
Definition at line 7244 of file fplot_core.f90.
|
virtual |
Gets the GNUPLOT command string containing the actual data to plot.
[in] | this | The vector_field_plot_data object. |
Implements fplot_core::plot_data.
Definition at line 7233 of file fplot_core.f90.
procedure, public fplot_core::vector_field_plot_data::get_fill_arrow |
Gets a value determining if the arrow heads should be filled.
[in] | this | The vector_field_plot_data object. |
Definition at line 7297 of file fplot_core.f90.
procedure, public fplot_core::vector_field_plot_data::get_use_data_dependent_colors |
Gets a value indicating if data-dependent coloring should be used. This is defined by supplying information on how to scale the coloring when calling define_data.
[in] | this | The vector_field_plot_data object. return Returns true if data-dependent coloring is being used; else, false. |
Definition at line 7320 of file fplot_core.f90.
procedure, public fplot_core::vector_field_plot_data::set_arrow_size |
Sets the scaling factor used to determine the arrow size.
[in,out] | this | The vector_field_plot_data object. |
[in] | x | The scaling factor. |
Definition at line 7287 of file fplot_core.f90.
procedure, public fplot_core::vector_field_plot_data::set_fill_arrow |
Sets a value determining if the arrow heads should be filled.
[in,out] | this | The vector_field_plot_data object. |
[in] | x | True if the arrow heads should be filled; else, false. |
Definition at line 7307 of file fplot_core.f90.
real(real64) fplot_core::vector_field_plot_data::m_arrowsize = 1.0d0 |
The vector size (scaling factor).
Definition at line 7219 of file fplot_core.f90.
|
private |
An M-by-N-by-4 array containing the x, y, dx, and dy plot data points. Optionally, a 5th page can be added to define the color for each arrow.
Definition at line 7217 of file fplot_core.f90.
logical fplot_core::vector_field_plot_data::m_filledheads = .false. |
Fill the arrow heads?
Definition at line 7221 of file fplot_core.f90.