fplot 1.7.1
A Fortran library providing a convenient interface for plotting with Gnuplot.
|
Describes a single plot axis. More...
Public Member Functions | |
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(pa_get_string_result), deferred, public | get_id_string pa_get_string_result |
Gets a string identifying the axis as: x, y, z, y2, etc. | |
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=plotdata_max_name_length) | m_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_length) | m_ticlabelfmt = "%g" |
The tic label format. | |
Private Attributes | |
logical | m_hastitle = .false. |
Has a title. | |
Describes a single plot axis.
Definition at line 1783 of file fplot_core.f90.
procedure, public fplot_core::plot_axis::get_autoscale |
Gets a logical value determining if the axis should be automatically scaled to fit the data.
[in] | this | The plot_axis object. |
Definition at line 1850 of file fplot_core.f90.
|
virtual |
Returns the appropriate GNUPLOT command string to define the plot_axis properties.
[in] | this | The plot_axis object. |
Implements fplot_core::plot_object.
Definition at line 1920 of file fplot_core.f90.
|
pure virtual |
Gets a string identifying the axis as: x, y, z, y2, etc.
Implemented in fplot_core::x_axis, fplot_core::y2_axis, fplot_core::y_axis, and fplot_core::z_axis.
Definition at line 1966 of file fplot_core.f90.
procedure, public fplot_core::plot_axis::get_is_log_scaled |
Gets a logical value defining if the axis should be log scaled.
[in,out] | this | The plot_axis object. |
Definition at line 1897 of file fplot_core.f90.
procedure, public fplot_core::plot_axis::get_limits |
Gets the axis display limits, assuming autoscaling is not active for this axis.
[in] | this | The plot_axis object. |
Definition at line 1874 of file fplot_core.f90.
procedure, public fplot_core::plot_axis::get_tic_label_format |
Gets the tic label format. The format string can be any format string accepted by the C command 'printf.'.
[in] | this | The plot_axis object. |
Definition at line 2004 of file fplot_core.f90.
procedure, public fplot_core::plot_axis::get_title |
Gets the axis' title.
[in] | this | The plot_axis object. |
Definition at line 1814 of file fplot_core.f90.
procedure, public fplot_core::plot_axis::get_use_default_tic_label_format |
Gets a value determining if the default tic label format will be used.
[in] | this | The plot_axis object. |
Definition at line 1979 of file fplot_core.f90.
procedure, public fplot_core::plot_axis::get_zero_axis |
Gets a value determining if the axis should be drawn through zero of opposing axes.
[in] | this | The plot_axis object. |
Definition at line 1931 of file fplot_core.f90.
procedure, public fplot_core::plot_axis::get_zero_axis_line_width |
Gets the width of the line used to represent the zero axis line, if active.
[in] | this | The plot_axis object. |
Definition at line 1953 of file fplot_core.f90.
procedure, public fplot_core::plot_axis::is_title_defined |
Gets a value determining if a title has been defined for the plot_axis object.
[in] | this | The plot_axis object. |
Definition at line 1838 of file fplot_core.f90.
procedure, public fplot_core::plot_axis::set_autoscale |
Sets a logical value determining if the axis should be automatically scaled to fit the data.
[in,out] | this | The plot_axis object. |
[in] | x | Set to true if the axis should be automatically scaled; else, false. |
Definition at line 1862 of file fplot_core.f90.
procedure, public fplot_core::plot_axis::set_is_log_scaled |
Sets a logical value defining if the axis should be log scaled.
[in,out] | this | The plot_axis object. |
[in] | x | Set to true if log scaling is applied to the axis; else, false. |
Definition at line 1909 of file fplot_core.f90.
procedure, public fplot_core::plot_axis::set_limits |
Sets the axis display limits, assuming autoscaling is not active for this axis.
[in,out] | this | The plot_axis object. |
[in] | lower | The lower display limit. |
[in] | upper | The upper display limit. |
Definition at line 1886 of file fplot_core.f90.
procedure, public fplot_core::plot_axis::set_tic_label_format |
Sets the tic label format. The format string can be any format string accepted by the C command 'printf.'.
[in,out] | this | The plot_axis object. |
[in] | x | The tic label format string. |
Definition at line 2015 of file fplot_core.f90.
procedure, public fplot_core::plot_axis::set_title |
Sets the axis' title.
[in,out] | this | The plot_axis object. |
[in] | txt | The axis title. The number of characters must be less than or equal to PLOTDATA_MAX_NAME_LENGTH; else, the text string is truncated. |
Definition at line 1826 of file fplot_core.f90.
procedure, public fplot_core::plot_axis::set_use_default_tic_label_format |
Sets a value determining if the default tic label format will be used.
[in,out] | this | The plot_axis object. |
[in] | x | Set to true if the default tic label format will be used; else, false. |
Definition at line 1992 of file fplot_core.f90.
procedure, public fplot_core::plot_axis::set_zero_axis |
Sets a value determining if the axis should be drawn through zero of opposing axes.
[in,out] | this | The plot_axis object. |
[in] | x | Set to true to draw as a zero axis; else, set to false. |
Definition at line 1942 of file fplot_core.f90.
procedure, public fplot_core::plot_axis::set_zero_axis_line_width |
Sets the width of the line used to represent the zero axis line, if active.
[in,out] | this | The plot_axis object. |
[in] | x | The width of the line, in pixels. |
Definition at line 1964 of file fplot_core.f90.
logical fplot_core::plot_axis::m_autoscale = .true. |
Autoscale?
Definition at line 1790 of file fplot_core.f90.
real(real32) fplot_core::plot_axis::m_axiswidth = 1.0 |
The width, in pixels, of the zero axis line.
Definition at line 1798 of file fplot_core.f90.
logical fplot_core::plot_axis::m_defaultticlabels = .true. |
Use default tic label format?
Definition at line 1801 of file fplot_core.f90.
|
private |
Has a title.
Definition at line 1786 of file fplot_core.f90.
real(real64), dimension(2) fplot_core::plot_axis::m_limits = [0.0d0, 1.0d0] |
Display limits.
Definition at line 1792 of file fplot_core.f90.
logical fplot_core::plot_axis::m_logscale = .false. |
Log scaled?
Definition at line 1794 of file fplot_core.f90.
character(len = plotdata_max_name_length) fplot_core::plot_axis::m_ticlabelfmt = "%g" |
The tic label format.
Definition at line 1803 of file fplot_core.f90.
character(len = plotdata_max_name_length) fplot_core::plot_axis::m_title = "" |
The axis title.
Definition at line 1788 of file fplot_core.f90.
logical fplot_core::plot_axis::m_zeroaxis = .false. |
Zero axis?
Definition at line 1796 of file fplot_core.f90.