A plot_data object for describing line series data.
Clears the data set by removing stored data and clearing the GNUPLOT datablock name. This routine also calls clear_data to ensure the data is cleared from the data set as well as the datablock name.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data), | intent(inout) | :: | this |
The plot_data object. |
Performs a clearing operation.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data), | intent(inout) | :: | this |
The plot_data object. |
Creates a unique name for the GNUPLOT datablock representing this data set.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data), | intent(inout) | :: | this |
The plot_data object. |
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 line_plot_data object.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(line_plot_data), | intent(in) | :: | this |
The line_plot_data object. |
The command string.
Retrieves a string from a plot_data object.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data), | intent(in) | :: | this |
The plot_data object. |
The string.
Gets the name to associate with the datablock in the actual GNUPLOT plot file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data), | intent(in) | :: | this |
The plot_data object. |
The name.
Gets a value determining if a line should be drawn.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(line_plot_data), | intent(in) | :: | this |
The line_plot_data object. |
Returns true if the line should be drawn; else, false.
Gets a value determining if data point markers should be drawn.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(line_plot_data), | intent(in) | :: | this |
The line_plot_data object. |
Returns true if the markers should be drawn; 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 line style.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(line_plot_data), | intent(in) | :: | this |
The line_plot_data object. |
The line style. The line style must be one of the following.
LINE_DASHED
LINE_DASH_DOTTED
LINE_DASH_DOT_DOT
LINE_DOTTED
LINE_SOLID
Gets the width of the line, in pixels.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(line_plot_data), | intent(in) | :: | this |
The line_plot_data object. |
The line width.
Gets the marker frequency.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(line_plot_data), | intent(in) | :: | this |
The line_plot_data object. |
The marker frequency.
Gets the marker scaling.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(line_plot_data), | intent(in) | :: | this |
The line_plot_data object. |
The scaling factor.
Gets the marker style.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(line_plot_data), | intent(in) | :: | this |
The line_plot_data object. |
The marker type. The marker type must be one of the following:
MARKER_ASTERISK
MARKER_EMPTY_CIRCLE
MARKER_EMPTY_NABLA
MARKER_EMPTY_RHOMBUS
MARKER_EMPTY_SQUARE
MARKER_EMPTY_TRIANGLE
MARKER_FILLED_CIRCLE
MARKER_FILLED_NABLA
MARKER_FILLED_RHOMBUS
MARKER_FILLED_SQUARE
MARKER_FILLED_TRIANGLE
MARKER_PLUS
MARKER_X
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.
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 the name to associate with the datablock in the actual GNUPLOT plot file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data), | intent(inout) | :: | this |
The plot_data object. |
||
| character(len=*), | intent(in) | :: | x |
The name. |
Sets a value determining if a line should be drawn.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(line_plot_data), | intent(inout) | :: | this |
The line_plot_data object. |
||
| logical, | intent(in) | :: | x |
Set to true if the line should be drawn; else, false. |
Sets a value determining if data point markers should be drawn.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(line_plot_data), | intent(inout) | :: | this |
The line_plot_data object. |
||
| logical, | intent(in) | :: | x |
Set to true if the markers should be drawn; 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 line style.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(line_plot_data), | intent(inout) | :: | this |
The line_plot_data object. |
||
| integer(kind=int32), | intent(in) | :: | x |
The line style. The line style must be one of the following.
|
Sets the width of the line, in pixels.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(line_plot_data), | intent(inout) | :: | this |
The line_plot_data object. |
||
| real(kind=real32), | intent(in) | :: | x |
The line width. |
Sets the marker frequency.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(line_plot_data), | intent(inout) | :: | this |
The line_plot_data object. |
||
| integer(kind=int32), | intent(in) | :: | x |
The marker frequency. |
Sets the marker scaling.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(line_plot_data), | intent(inout) | :: | this |
The line_plot_data object. |
||
| real(kind=real32), | intent(in) | :: | x |
The scaling factor. |
Sets the marker style.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(line_plot_data), | intent(inout) | :: | this |
The line_plot_data object. |
||
| integer(kind=int32), | intent(in) | :: | x |
The marker type. The marker type must be one of the following:
|
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. |