Defines a multi-plot layout.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
class(terminal), | public, | pointer | :: | m_terminal | => | null() |
The GNUPLOT terminal object to target. |
Cleans up resources held by the multiplot object.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(multiplot), | intent(inout) | :: | this |
The multiplot object. |
Launches GNUPLOT and draws the multiplot per the current state of the command list.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(multiplot), | intent(in) | :: | this |
The multiplot object. |
||
logical, | intent(in), | optional | :: | persist |
An optional parameter that can be used to keep GNUPLOT open. |
|
class(errors), | intent(inout), | optional, | target | :: | err |
An error handling object. |
Gets the requested plot object.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(multiplot), | intent(in) | :: | this |
The multiplot object. |
||
integer(kind=int32), | intent(in) | :: | i |
The row index of the plot to retrieve. |
||
integer(kind=int32), | intent(in) | :: | j |
The column index of the plot to retrieve. |
A pointer to the plot object.
Gets the number of columns of plots.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(multiplot), | intent(in) | :: | this |
The multiplot object. |
The column count.
Gets the GNUPLOT commands for this object.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(multiplot), | intent(in) | :: | this |
The multiplot object. |
The command string.
Gets the name of the font used for plot text.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(multiplot), | intent(in) | :: | this |
The multiplot object. |
The font name.
Gets the size of the font used by the plot.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(multiplot), | intent(in) | :: | this |
The multiplot object. |
The font size.
Gets the total number of plots.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(multiplot), | intent(in) | :: | this |
The multiplot object. |
The plot count.
Gets the number of rows of plots.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(multiplot), | intent(in) | :: | this |
The multiplot object. |
The row count.
Gets the multiplot's title.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(multiplot), | intent(in) | :: | this |
The multiplot object. |
The title.
Initializes the multiplot object.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(multiplot), | intent(inout) | :: | this |
The multiplot object. |
||
integer(kind=int32), | intent(in) | :: | m |
The number of rows of plots. |
||
integer(kind=int32), | intent(in) | :: | n |
The number of columns of plots. |
||
integer(kind=int32), | intent(in), | optional | :: | term |
An optional input that is used to define the terminal. The default terminal is a WXT terminal. The acceptable inputs are:
|
|
class(errors), | intent(inout), | optional, | target | :: | err |
An error handling object. |
Gets a value determining if a title has been defined for the multiplot object.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(multiplot), | intent(in) | :: | this |
The multiplot object. |
Returns true if a title has been defined for this multiplot; else, returns false.
Saves a GNUPLOT command file.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(multiplot), | intent(in) | :: | this |
The multiplot object. |
||
character(len=*), | intent(in) | :: | fname |
The filename. |
||
class(errors), | intent(inout), | optional, | target | :: | err |
An error handling object. |
Replaces the specified plot.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(multiplot), | intent(inout) | :: | this |
The multiplot object. |
||
integer(kind=int32), | intent(in) | :: | i |
The row index of the plot to replace. |
||
integer(kind=int32), | intent(in) | :: | j |
The column index of the plot to replace. |
||
class(plot), | intent(in) | :: | x |
The new plot. |
Sets the name of the font used for plot text.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(multiplot), | intent(inout) | :: | this |
The multiplot object. |
||
character(len=*), | intent(in) | :: | x |
The font name. |
Sets the size of the font used by the plot.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(multiplot), | intent(inout) | :: | this |
The multiplot object. |
||
integer(kind=int32), | intent(in) | :: | x |
The font size. |
Sets the multiplot's title.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(multiplot), | intent(inout) | :: | this |
The multiplot object. |
||
character(len=*), | intent(in) | :: | x |
The title. |