fplot 1.7.1
A Fortran library providing a convenient interface for plotting with Gnuplot.
Loading...
Searching...
No Matches
fplot_core::y2_axis Type Reference

A secondary y-axis object. More...

Inheritance diagram for fplot_core::y2_axis:
fplot_core::plot_axis fplot_core::plot_object

Public Member Functions

procedure, public get_id_string y2a_get_id
 Gets the axis identification string.
 
- Public Member Functions inherited from fplot_core::plot_axis
procedure, public get_title pa_get_title
 Gets the axis' title.
 
procedure, public set_title pa_set_title
 Sets the axis' title.
 
procedure, public is_title_defined pa_has_title
 Gets a value determining if a title has been defined for the plot_axis object.
 
procedure, public get_autoscale pa_get_autoscale
 Gets a logical value determining if the axis should be automatically scaled to fit the data.
 
procedure, public set_autoscale pa_set_autoscale
 Sets a logical value determining if the axis should be automatically scaled to fit the data.
 
procedure, public get_limits pa_get_axis_limits
 Gets the axis display limits, assuming autoscaling is not active for this axis.
 
procedure, public set_limits pa_set_axis_limits
 Sets the axis display limits, assuming autoscaling is not active for this axis.
 
procedure, public get_is_log_scaled pa_get_log_scale
 Gets a logical value defining if the axis should be log scaled.
 
procedure, public set_is_log_scaled pa_set_log_scale
 Sets a logical value defining if the axis should be log scaled.
 
procedure, public get_command_string pa_get_cmd_string
 Returns the appropriate GNUPLOT command string to define the plot_axis properties.
 
procedure, public get_zero_axis pa_get_zero_axis
 Gets a value determining if the axis should be drawn through zero of opposing axes.
 
procedure, public set_zero_axis pa_set_zero_axis
 Sets a value determining if the axis should be drawn through zero of opposing axes.
 
procedure, public get_zero_axis_line_width pa_get_zero_axis_width
 Gets the width of the line used to represent the zero axis line, if active.
 
procedure, public set_zero_axis_line_width pa_set_zero_axis_width
 Sets the width of the line used to represent the zero axis line, if active.
 
procedure, public get_use_default_tic_label_format pa_get_use_dft_tic_lbl_fmt
 Gets a value determining if the default tic label format will be used.
 
procedure, public set_use_default_tic_label_format pa_set_use_dft_tic_lbl_fmt
 Sets a value determining if the default tic label format will be used.
 
procedure, public get_tic_label_format pa_get_tic_label_fmt
 Gets the tic label format. The format string can be any format string accepted by the C command 'printf.'.
 
procedure, public set_tic_label_format pa_set_tic_label_fmt
 Sets the tic label format. The format string can be any format string accepted by the C command 'printf.'.
 

Public Attributes

character(len=2) m_id = "y2"
 The ID character.
 
- Public Attributes inherited from fplot_core::plot_axis
character(len=plotdata_max_name_lengthm_title = ""
 The axis title.
 
logical m_autoscale = .true.
 Autoscale?
 
real(real64), dimension(2) m_limits = [0.0d0, 1.0d0]
 Display limits.
 
logical m_logscale = .false.
 Log scaled?
 
logical m_zeroaxis = .false.
 Zero axis?
 
real(real32) m_axiswidth = 1.0
 The width, in pixels, of the zero axis line.
 
logical m_defaultticlabels = .true.
 Use default tic label format?
 
character(len=plotdata_max_name_lengthm_ticlabelfmt = "%g"
 The tic label format.
 

Detailed Description

A secondary y-axis object.

Syntax
character(len = :) function, allocatable get_id_string(class(y2_axis) this)
Parameters
[in]thisThe y2_axis object.
Returns
The string.

Definition at line 5702 of file fplot_core.f90.

Member Function/Subroutine Documentation

◆ get_id_string()

procedure, public fplot_core::y2_axis::get_id_string
virtual

Gets the axis identification string.

Implements fplot_core::plot_axis.

Definition at line 5707 of file fplot_core.f90.

Member Data Documentation

◆ m_id

character(len = 2) fplot_core::y2_axis::m_id = "y2"

The ID character.

Definition at line 5704 of file fplot_core.f90.


The documentation for this type was generated from the following file: