Figure plot data management module
Single Responsibility: Manage plot data storage and operations
Extracted from fortplot_figure_core to improve modularity
Functions
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(in) |
|
|
:: |
state |
|
Return Value
real(kind=wp), (3)
Subroutines
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=wp),
|
intent(in), |
|
contiguous
|
:: |
x(:) |
|
|
real(kind=wp),
|
intent(in), |
|
contiguous
|
:: |
y(:) |
|
|
character(len=*),
|
intent(in), |
optional |
|
:: |
label |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(plot_data_t),
|
intent(inout) |
|
|
:: |
plots(:) |
|
|
integer,
|
intent(inout) |
|
|
:: |
plot_count |
|
|
integer,
|
intent(in) |
|
|
:: |
max_plots |
|
|
real(kind=wp),
|
intent(in), |
|
contiguous
|
:: |
x(:) |
|
|
real(kind=wp),
|
intent(in), |
|
contiguous
|
:: |
y(:) |
|
|
character(len=*),
|
intent(in), |
optional |
|
:: |
label |
|
|
character(len=*),
|
intent(in), |
optional |
|
:: |
linestyle |
|
|
real(kind=wp),
|
intent(in) |
|
|
:: |
color(3) |
|
|
character(len=*),
|
intent(in), |
optional |
|
:: |
marker |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(plot_data_t),
|
intent(inout) |
|
|
:: |
plots(:) |
|
|
integer,
|
intent(inout) |
|
|
:: |
plot_count |
|
|
integer,
|
intent(in) |
|
|
:: |
max_plots |
|
|
real(kind=wp),
|
intent(in), |
|
contiguous
|
:: |
x(:) |
|
|
real(kind=wp),
|
intent(in), |
|
contiguous
|
:: |
upper(:) |
|
|
real(kind=wp),
|
intent(in), |
|
contiguous
|
:: |
lower(:) |
|
|
logical,
|
intent(in), |
optional |
|
:: |
mask(:) |
|
|
real(kind=wp),
|
intent(in) |
|
|
:: |
color(3) |
|
|
real(kind=wp),
|
intent(in), |
optional |
|
:: |
alpha |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(plot_data_t),
|
intent(inout) |
|
|
:: |
plots(:) |
|
|
integer,
|
intent(in) |
|
|
:: |
plot_count |
|
|
integer,
|
intent(in) |
|
|
:: |
plot_index |
|
|
real(kind=wp),
|
intent(in), |
|
contiguous
|
:: |
y_new(:) |
|