A container for plotting data in the form of a histogram.
Defines the data set to plot.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_histogram), | intent(inout) | :: | this |
The plot_data_histogram object. |
||
| real(kind=real64), | intent(in), | dimension(:) | :: | x |
The data set to plot. |
|
| class(errors), | intent(inout), | optional, | target | :: | err |
An error handling object. |
Gets the requested binned data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_histogram), | intent(in) | :: | this |
The plot_data_histogram object. |
||
| integer(kind=int32), | intent(in) | :: | i |
The bin number to get. |
||
| real(kind=real64), | intent(out) | :: | x |
The center of the bin. |
||
| integer(kind=int32), | intent(out) | :: | cnt |
The number of items in the bin. |
Gets the GNUPLOT command string defining which axes the data is to be plotted against.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_histogram), | intent(in) | :: | this |
The plot_data_histogram object. |
The command string.
Gets the number of bins.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_histogram), | intent(in) | :: | this |
The plot_data_histogram object. |
The bin count.
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_histogram), | intent(in) | :: | this |
The plot_data_histogram object. |
The command string.
Gets the GNUPLOT command string defining the data for this object.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_histogram), | intent(in) | :: | this |
The plot_data_histogram 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_histogram), | intent(in) | :: | this |
The plot_data_histogram 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 each box is filled.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_histogram), | intent(in) | :: | this |
The plot_data_histogram object. |
Returns true if the boxes are filled; else, false for an empty box.
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 maximum data value.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_histogram), | intent(in) | :: | this |
The plot_data_histogram object. |
The maximum data value.
Gets the minimum data value.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_histogram), | intent(in) | :: | this |
The plot_data_histogram object. |
The minimum data value.
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 bin count. For this property to have an effect, call before calling the define_data subroutine or bin_data subroutine.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_histogram), | intent(inout) | :: | this |
The plot_data_histogram object. |
||
| integer(kind=int32), | intent(in) | :: | x |
The bin count. |
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_histogram), | intent(inout) | :: | this |
The plot_data_histogram 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 each box is filled.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_data_histogram), | intent(inout) | :: | this |
The plot_data_histogram object. |
||
| logical, | intent(in) | :: | x |
Set to true if the boxes should be filled; else, false for an empty box. |
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. |