A container for box-whisker plot data.
Defines the data set to plot.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_box_whisker), | intent(inout) | :: | this |
The plot_data_box_whisker object. |
||
| type(string), | intent(in), | dimension(:) | :: | x |
The x-coordinate data. |
|
| real(kind=real64), | intent(in), | dimension(size(x)) | :: | boxmin |
The minimum y-values for each box. |
|
| real(kind=real64), | intent(in), | dimension(size(x)) | :: | boxmax |
The maximum y-values for each box. |
|
| real(kind=real64), | intent(in), | dimension(size(x)) | :: | whiskermin |
The minimum y-values for each whisker. |
|
| real(kind=real64), | intent(in), | dimension(size(x)) | :: | whiskermax |
The maximum y-values for each whisker. |
|
| class(errors), | intent(inout), | optional, | target | :: | err |
An error handling object. |
Gets the opacity of the box fill color.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_box_whisker), | intent(in) | :: | this |
The plot_data_box_whisker object. |
The opacity on a scale from 0 to 1.
Gets the box width. By default the x-axis is incremented in units of 1; therefore, a box width of 1 will fully fill the space.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_box_whisker), | intent(in) | :: | this |
The plot_data_box_whisker object. |
The box width.
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 for this object.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_box_whisker), | intent(in) | :: | this |
The plot_data_box_whisker object. |
The command string.
Gets the GNUPLOT command string defining the data for this object.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_box_whisker), | intent(in) | :: | this |
The plot_data_box_whisker object. |
The command string.
Gets a value determining if the data is to be plotted against the secondary y axis.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_box_whisker), | intent(in) | :: | this |
The plot_data_box_whisker object. |
Returns true if the data is to be plotted against the secondary y axis; else, false for the primary y axis.
Gets a value determining if the boxes should be filled.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_box_whisker), | intent(in) | :: | this |
The plot_data_box_whisker object. |
True if the boxes are to 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 width of the line, in pixels.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_box_whisker), | intent(in) | :: | this |
The plot_data_box_whisker object. |
The line width.
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 determining if whiskerbars should be used.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_box_whisker), | intent(in) | :: | this |
The plot_data_box_whisker object. |
True if whiskerbars should be used; else, false.
Gets the width of whiskerbar.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_box_whisker), | intent(in) | :: | this |
The plot_data_box_whisker object. |
The width of the whiskerbar on a scale of 0:1 with 1 being the full width.
Sets the opacity of the box fill color.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_box_whisker), | intent(inout) | :: | this |
The plot_data_box_whisker object. |
||
| real(kind=real32), | intent(in) | :: | x |
The opacity on a scale from 0 to 1. |
Sets the box width. By default the x-axis is incremented in units of 1; therefore, a box width of 1 will fully fill the space.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_box_whisker), | intent(inout) | :: | this |
The plot_data_box_whisker object. |
||
| real(kind=real32), | intent(in) | :: | x |
The box width. |
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 data is to be plotted against the secondary y axis.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_box_whisker), | intent(inout) | :: | this |
The plot_data_box_whisker object. |
||
| logical, | intent(in) | :: | x |
Set to true if the data is to be plotted against the secondary y axis; else, false for the primary y axis. |
Sets a value determining if the boxes should be filled.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_box_whisker), | intent(inout) | :: | this |
The plot_data_box_whisker object. |
||
| logical, | intent(in) | :: | x |
Set to true if the boxes are to 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 width of the line, in pixels.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_box_whisker), | intent(inout) | :: | this |
The plot_data_box_whisker object. |
||
| real(kind=real32), | intent(in) | :: | x |
The line width. |
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. |
Sets a value determining if whiskerbars should be used.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_box_whisker), | intent(inout) | :: | this |
The plot_data_box_whisker object. |
||
| logical, | intent(in) | :: | x |
Set to true if whiskerbars should be used; else, false. |
Sets the width of the whiskerbar.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_box_whisker), | intent(inout) | :: | this |
The plot_data_box_whisker object. |
||
| real(kind=real32), | intent(in) | :: | x |
The width of the whiskerbar. This value is clamped to [0, 1] with 1 representing full width. |