Figure configuration operations module
This module contains figure configuration functionality (labels, scales, limits)
extracted from fortplot_figure_core for architectural compliance
ARCHITECTURAL REFACTORING (Issue #678):
- Focused module for configuration operations
- Single Responsibility Principle compliance
- Clean separation from plot data management
=============================================================================
CORE MODULE DELEGATION PROCEDURES
Simple wrapper procedures for core module delegation pattern
=============================================================================
Subroutines
Set x-axis label
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
character(len=:),
|
intent(inout), |
|
allocatable
|
:: |
xlabel_compat |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
label |
|
Set y-axis label
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
character(len=:),
|
intent(inout), |
|
allocatable
|
:: |
ylabel_compat |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
label |
|
Set figure title
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
character(len=:),
|
intent(inout), |
|
allocatable
|
:: |
title_compat |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
title |
|
Set x-axis scale type
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
scale |
|
|
real(kind=wp),
|
intent(in), |
optional |
|
:: |
threshold |
|
Set y-axis scale type
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
scale |
|
|
real(kind=wp),
|
intent(in), |
optional |
|
:: |
threshold |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
format |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
format |
|
Set x-axis limits
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
real(kind=wp),
|
intent(in) |
|
|
:: |
x_min |
|
|
real(kind=wp),
|
intent(in) |
|
|
:: |
x_max |
|
Set y-axis limits
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
real(kind=wp),
|
intent(in) |
|
|
:: |
y_min |
|
|
real(kind=wp),
|
intent(in) |
|
|
:: |
y_max |
|
Set line width for subsequent plots
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
real(kind=wp),
|
intent(in) |
|
|
:: |
width |
|
Enable/disable and configure grid lines
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
logical,
|
intent(in), |
optional |
|
:: |
enabled |
|
|
character(len=*),
|
intent(in), |
optional |
|
:: |
which |
|
|
character(len=*),
|
intent(in), |
optional |
|
:: |
axis |
|
|
real(kind=wp),
|
intent(in), |
optional |
|
:: |
alpha |
|
|
character(len=*),
|
intent(in), |
optional |
|
:: |
linestyle |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
character(len=:),
|
intent(inout), |
|
allocatable
|
:: |
xlabel_compat |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
label |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
character(len=:),
|
intent(inout), |
|
allocatable
|
:: |
ylabel_compat |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
label |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
character(len=:),
|
intent(inout), |
|
allocatable
|
:: |
title_compat |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
title |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
scale |
|
|
real(kind=wp),
|
intent(in), |
optional |
|
:: |
threshold |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
scale |
|
|
real(kind=wp),
|
intent(in), |
optional |
|
:: |
threshold |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
format |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
format |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
real(kind=wp),
|
intent(in) |
|
|
:: |
x_min |
|
|
real(kind=wp),
|
intent(in) |
|
|
:: |
x_max |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
real(kind=wp),
|
intent(in) |
|
|
:: |
y_min |
|
|
real(kind=wp),
|
intent(in) |
|
|
:: |
y_max |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
real(kind=wp),
|
intent(in) |
|
|
:: |
width |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(figure_state_t),
|
intent(inout) |
|
|
:: |
state |
|
|
logical,
|
intent(in), |
optional |
|
:: |
enabled |
|
|
character(len=*),
|
intent(in), |
optional |
|
:: |
which |
|
|
character(len=*),
|
intent(in), |
optional |
|
:: |
axis |
|
|
real(kind=wp),
|
intent(in), |
optional |
|
:: |
alpha |
|
|
character(len=*),
|
intent(in), |
optional |
|
:: |
linestyle |
|