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

Defines a GNUPLOT LATEX terminal object. More...

Inheritance diagram for fplot_core::latex_terminal:
fplot_core::terminal fplot_core::plot_object

Public Member Functions

procedure, public get_filename tex_get_filename
 Gets the filename for the output LATEX file.
 
procedure, public set_filename tex_set_filename
 Sets the filename for the output LATEX file.
 
procedure, public get_id_string tex_get_term_string
 Retrieves a GNUPLOT terminal identifier string.
 
procedure, public get_command_string tex_get_command_string
 Returns the appropriate GNUPLOT command string to establish appropriate parameters.
 
- Public Member Functions inherited from fplot_core::terminal
procedure, public get_window_width term_get_window_width
 Gets the width of the plot window.
 
procedure, public set_window_width term_set_window_width
 Sets the width of the plot window.
 
procedure, public get_window_height term_get_window_height
 Gets the height of the plot window.
 
procedure, public set_window_height term_set_window_height
 Sets the height of the plot window.
 
procedure, public get_command_string term_get_command_string
 Returns the appropriate GNUPLOT command string to establish appropriate parameters.
 
procedure, public get_plot_window_number term_get_plot_window_number
 Gets the targeted plot window number.
 
procedure, public set_plot_window_number term_set_plot_window_number
 Sets the targeted plot window number.
 
procedure, public get_title term_get_title
 Gets the plot window's title.
 
procedure, public set_title term_set_title
 Sets the plot window's title.
 
procedure, public get_font_name term_get_font_name
 Gets the name of the font used for text displayed by the graph.
 
procedure, public set_font_name term_set_font_name
 Sets the name of the font used for text displayed by the graph.
 
procedure, public get_font_size term_get_font_size
 Gets the size of the font used by the graph.
 
procedure, public set_font_size term_set_font_size
 Sets the size of the font used by the graph.
 

Public Attributes

character(len=gnuplot_max_path_lengthm_fname = "default.tex"
 The filename of the PNG file to write.
 
- Public Attributes inherited from fplot_core::terminal
integer(int32) m_windowwidth = GNUPLOT_DEFAULT_WINDOW_WIDTH
 The window width, in pixels.
 
integer(int32) m_termid = 0
 The plot window number.
 
character(len=gnuplot_max_label_lengthm_title = ""
 The plot window title.
 
logical m_hastitle = .false.
 Determines if a plot title is defined.
 
character(len=gnuplot_max_label_lengthm_fontname = GNUPLOT_DEFAULT_FONTNAME
 The font used by the graph.
 
integer(int32) m_fontsize = GNUPLOT_DEFAULT_FONT_SIZE
 The size of the font used by the graph.
 

Private Attributes

character(len=14) m_id = "epslatex color"
 The terminal ID string.
 

Detailed Description

Defines a GNUPLOT LATEX terminal object.

Definition at line 1599 of file fplot_core.f90.

Member Function/Subroutine Documentation

◆ get_command_string()

procedure, public fplot_core::latex_terminal::get_command_string
virtual

Returns the appropriate GNUPLOT command string to establish appropriate parameters.

Syntax
character(len = :) function, allocatable get_command_string(class(latex_terminal) this)
Parameters
[in]thisThe terminal object.
Returns
The GNUPLOT command string.

Implements fplot_core::plot_object.

Definition at line 1646 of file fplot_core.f90.

◆ get_filename()

procedure, public fplot_core::latex_terminal::get_filename

Gets the filename for the output LATEX file.

Syntax
character(len = :) function, allocatable get_filename(class(latex_terminal) this)
Parameters
[in]thisThe latex_terminal object.
Returns
The filename, including the file extension (.tex).

Definition at line 1615 of file fplot_core.f90.

◆ get_id_string()

procedure, public fplot_core::latex_terminal::get_id_string
virtual

Retrieves a GNUPLOT terminal identifier string.

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

Implements fplot_core::terminal.

Definition at line 1635 of file fplot_core.f90.

◆ set_filename()

procedure, public fplot_core::latex_terminal::set_filename

Sets the filename for the output LATEX file.

Syntax
subroutine set_filename(class(latex_terminal) this, character(len = *) txt)
Parameters
[in,out]thisThe latex_terminal object.
[in]txtThe filename, including the file extension (.tex).

Definition at line 1625 of file fplot_core.f90.

Member Data Documentation

◆ m_fname

character(len = gnuplot_max_path_length) fplot_core::latex_terminal::m_fname = "default.tex"

The filename of the PNG file to write.

Definition at line 1604 of file fplot_core.f90.

◆ m_id

character(len = 14) fplot_core::latex_terminal::m_id = "epslatex color"
private

The terminal ID string.

Definition at line 1602 of file fplot_core.f90.


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