Defines a two-dimensional vector-field plot data set.
Defines the data set.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field_plot_data), | intent(inout) | :: | this |
The vector_field_plot_data object. |
||
real(kind=real64), | intent(in), | dimension(:,:) | :: | x |
An M-by-N matrix containing the x-locations of each arrow's origin. |
|
real(kind=real64), | intent(in), | dimension(:,:) | :: | y |
An M-by-N matrix containing the y-locations of each arrow's origin. |
|
real(kind=real64), | intent(in), | dimension(:,:) | :: | dx |
An M-by-N matrix containing the x-direction of each arrow. |
|
real(kind=real64), | intent(in), | dimension(:,:) | :: | dy |
An M-by-N matrix containing the y-direction of each arrow. |
|
real(kind=real64), | intent(in), | optional, | dimension(:,:) | :: | c |
An optional M-by-N matrix containing information on how to color the arrows. The colors are determined by the active colormap. |
class(errors), | intent(inout), | optional, | target | :: | err |
An error handling object. |
Gets the scaling factor used to determine the arrow size.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field_plot_data), | intent(in) | :: | this |
The vector_field_plot_data object. |
The scaling factor.
Gets the color index.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(plot_data_colored), | intent(in) | :: | this |
The plot_data_colored object. |
The index value.
Gets the GNUPLOT command string to represent this vector_field_plot_data object.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field_plot_data), | intent(in) | :: | this |
The vector_field_plot_data object. |
The command string.
Gets the GNUPLOT command string containing the actual data to plot.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field_plot_data), | intent(in) | :: | this |
The vector_field_plot_data object. |
The command string.
Gets a value determining if the arrow heads should be filled.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field_plot_data), | intent(in) | :: | this |
The vector_field_plot_data object. |
True if the arrow heads should be filled; else, false.
Gets the object color.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(plot_data_colored), | intent(in) | :: | this |
The plot_data_colored object. |
The color.
Gets the name to associate with this data set.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(plot_data), | intent(in) | :: | this |
The plot_data object. |
The name.
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.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field_plot_data), | intent(in) | :: | this |
The vector_field_plot_data object. |
Returns true if data-dependent coloring is being used; else, false.
Sets the scaling factor used to determine the arrow size.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field_plot_data), | intent(inout) | :: | this |
The vector_field_plot_data object. |
||
real(kind=real64), | intent(in) | :: | x |
The scaling factor. |
Sets the color index.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(plot_data_colored), | intent(inout) | :: | this |
The plot_data_colored object. |
||
integer(kind=int32), | intent(in) | :: | x |
The index value. |
Sets a value determining if the arrow heads should be filled.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field_plot_data), | intent(inout) | :: | this |
The vector_field_plot_data object. |
||
logical, | intent(in) | :: | x |
True if the arrow heads should be filled; else, false. |
Sets the object color.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(plot_data_colored), | intent(inout) | :: | this |
The plot_data_colored object. |
||
type(color), | intent(in) | :: | x |
The color. |
Sets the name to associate with this data set.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(plot_data), | intent(inout) | :: | this |
The plot_data object. |
||
character(len=*), | intent(in) | :: | txt |
The name. |