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

Defines a data set tailored to bar charts. More...

Inheritance diagram for fplot_core::plot_data_bar:
fplot_core::plot_data_colored fplot_core::plot_data fplot_core::plot_object fplot_core::plot_data_histogram

Public Member Functions

procedure, public get_count pdb_get_count
 
procedure, public get pdb_get_data
 
procedure, public set pdb_set_data
 
procedure, public get_data pdb_get_data_set
 
procedure, public get_label pdb_get_label
 
procedure, public set_label pdb_set_label
 
procedure, public get_use_labels pdb_get_use_labels
 
procedure, public set_use_labels pdb_set_use_labels
 
procedure, public get_command_string pdb_get_cmd
 Returns the appropriate GNUPLOT command string to define the plot object properties.
 
procedure, public get_data_string pdb_get_data_cmd
 Gets the GNUPLOT command string containing the actual data to plot.
 
procedure, public get_axes_string pdb_get_axes_cmd
 
procedure, public get_bar_per_label_count pdb_get_col_count
 
procedure, public get_draw_against_y2 pdb_get_use_y2
 
procedure, public set_draw_against_y2 pdb_set_use_y2
 
procedure, public get_is_filled pdb_get_is_filled
 
procedure, public set_is_filled pdb_set_is_filled
 
procedure, public get_transparency pdb_get_alpha
 
procedure, public set_transparency pdb_set_alpha
 
generic, public define_data pdb_set_data_1
 
generic, public define_data pdb_set_data_2
 
generic, public define_data pdb_set_data_3
 
procedure pdb_set_data_1 pdb_set_data_1
 
procedure pdb_set_data_2 pdb_set_data_2
 
procedure pdb_set_data_3 pdb_set_data_3
 
procedure set_data_1 pdb_set_data_1_core
 
procedure set_data_2 pdb_set_data_2_core
 
procedure set_data_3 pdb_set_data_3_core
 
- Public Member Functions inherited from fplot_core::plot_data_colored
procedure, public get_line_color pdc_get_line_color
 Gets the line color.
 
procedure, public set_line_color pdc_set_line_color
 Sets the line color.
 
- Public Member Functions inherited from fplot_core::plot_data
procedure, public get_name pd_get_name
 Gets the name to associate with this data set.
 
procedure, public set_name pd_set_name
 Sets the name to associate with this data set.
 

Public Attributes

real(real64), dimension(:,:), allocatable m_bardata
 An array of data defining each bar - the matrix contains multiple columns to allow multiple bars per label.
 
logical m_useaxislabels = .true.
 Determines if the axis labels should be used - only applicable if there is existing data stored in m_axisLabels & m_axisLabels is the same size as m_barData.
 
logical m_usey2 = .false.
 Draw against the secondary y axis?
 
logical m_filled = .true.
 Determines if each bar is filled.
 
real(real32) m_alpha = 1.0
 The alpha value (transparency) for each bar.
 
- Public Attributes inherited from fplot_core::plot_data_colored
logical m_useautocolor = .true.
 Let the object choose colors automatically.
 
integer(int32) m_colorindex = 1
 The color index to use, assuming we're using auto color.
 

Private Attributes

type(string), dimension(:), allocatable m_axislabels
 An array containing axis labels to associate with each bar.
 

Detailed Description

Defines a data set tailored to bar charts.

Definition at line 6459 of file fplot_core.f90.

Member Function/Subroutine Documentation

◆ define_data() [1/3]

generic, public fplot_core::plot_data_bar::define_data

Definition at line 6495 of file fplot_core.f90.

◆ define_data() [2/3]

generic, public fplot_core::plot_data_bar::define_data

Definition at line 6495 of file fplot_core.f90.

◆ define_data() [3/3]

generic, public fplot_core::plot_data_bar::define_data

Definition at line 6495 of file fplot_core.f90.

◆ get()

procedure, public fplot_core::plot_data_bar::get

Definition at line 6478 of file fplot_core.f90.

◆ get_axes_string()

procedure, public fplot_core::plot_data_bar::get_axes_string

Definition at line 6487 of file fplot_core.f90.

◆ get_bar_per_label_count()

procedure, public fplot_core::plot_data_bar::get_bar_per_label_count

Definition at line 6488 of file fplot_core.f90.

◆ get_command_string()

procedure, public fplot_core::plot_data_bar::get_command_string
virtual

Returns the appropriate GNUPLOT command string to define the plot object properties.

Implements fplot_core::plot_object.

Definition at line 6485 of file fplot_core.f90.

◆ get_count()

procedure, public fplot_core::plot_data_bar::get_count

Definition at line 6477 of file fplot_core.f90.

◆ get_data()

procedure, public fplot_core::plot_data_bar::get_data

Definition at line 6480 of file fplot_core.f90.

◆ get_data_string()

procedure, public fplot_core::plot_data_bar::get_data_string
virtual

Gets the GNUPLOT command string containing the actual data to plot.

Implements fplot_core::plot_data.

Definition at line 6486 of file fplot_core.f90.

◆ get_draw_against_y2()

procedure, public fplot_core::plot_data_bar::get_draw_against_y2

Definition at line 6489 of file fplot_core.f90.

◆ get_is_filled()

procedure, public fplot_core::plot_data_bar::get_is_filled

Definition at line 6491 of file fplot_core.f90.

◆ get_label()

procedure, public fplot_core::plot_data_bar::get_label

Definition at line 6481 of file fplot_core.f90.

◆ get_transparency()

procedure, public fplot_core::plot_data_bar::get_transparency

Definition at line 6493 of file fplot_core.f90.

◆ get_use_labels()

procedure, public fplot_core::plot_data_bar::get_use_labels

Definition at line 6483 of file fplot_core.f90.

◆ pdb_set_data_1()

procedure fplot_core::plot_data_bar::pdb_set_data_1

Definition at line 6497 of file fplot_core.f90.

◆ pdb_set_data_2()

procedure fplot_core::plot_data_bar::pdb_set_data_2

Definition at line 6498 of file fplot_core.f90.

◆ pdb_set_data_3()

procedure fplot_core::plot_data_bar::pdb_set_data_3

Definition at line 6499 of file fplot_core.f90.

◆ set()

procedure, public fplot_core::plot_data_bar::set

Definition at line 6479 of file fplot_core.f90.

◆ set_data_1()

procedure fplot_core::plot_data_bar::set_data_1

Definition at line 6500 of file fplot_core.f90.

◆ set_data_2()

procedure fplot_core::plot_data_bar::set_data_2

Definition at line 6501 of file fplot_core.f90.

◆ set_data_3()

procedure fplot_core::plot_data_bar::set_data_3

Definition at line 6502 of file fplot_core.f90.

◆ set_draw_against_y2()

procedure, public fplot_core::plot_data_bar::set_draw_against_y2

Definition at line 6490 of file fplot_core.f90.

◆ set_is_filled()

procedure, public fplot_core::plot_data_bar::set_is_filled

Definition at line 6492 of file fplot_core.f90.

◆ set_label()

procedure, public fplot_core::plot_data_bar::set_label

Definition at line 6482 of file fplot_core.f90.

◆ set_transparency()

procedure, public fplot_core::plot_data_bar::set_transparency

Definition at line 6494 of file fplot_core.f90.

◆ set_use_labels()

procedure, public fplot_core::plot_data_bar::set_use_labels

Definition at line 6484 of file fplot_core.f90.

Member Data Documentation

◆ m_alpha

real(real32) fplot_core::plot_data_bar::m_alpha = 1.0

The alpha value (transparency) for each bar.

Definition at line 6475 of file fplot_core.f90.

◆ m_axislabels

type(string), dimension(:), allocatable fplot_core::plot_data_bar::m_axislabels
private

An array containing axis labels to associate with each bar.

Definition at line 6462 of file fplot_core.f90.

◆ m_bardata

real(real64), dimension(:,:), allocatable fplot_core::plot_data_bar::m_bardata

An array of data defining each bar - the matrix contains multiple columns to allow multiple bars per label.

Definition at line 6465 of file fplot_core.f90.

◆ m_filled

logical fplot_core::plot_data_bar::m_filled = .true.

Determines if each bar is filled.

Definition at line 6473 of file fplot_core.f90.

◆ m_useaxislabels

logical fplot_core::plot_data_bar::m_useaxislabels = .true.

Determines if the axis labels should be used - only applicable if there is existing data stored in m_axisLabels & m_axisLabels is the same size as m_barData.

Definition at line 6469 of file fplot_core.f90.

◆ m_usey2

logical fplot_core::plot_data_bar::m_usey2 = .false.

Draw against the secondary y axis?

Definition at line 6471 of file fplot_core.f90.


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