FEDEM Solver  R8.0
Source code of the dynamics solver
Public Member Functions | Public Attributes | List of all members
pyplot_module::pyplot Type Reference

Main python plot class. More...

Public Member Functions

procedure, public initialize
 Initialize pyplot instance. More...
 
procedure, public add_plot
 Add a 2d plot to pyplot instance. More...
 
procedure, public add_3d_plot
 Add a 3d plot to pyplot instance. More...
 
procedure, public add_sphere
 Add a 3d sphere to pyplot instance. More...
 
procedure, public add_contour
 Add a contour plot to pyplot instance. More...
 
procedure, public add_bar
 Add a barplot to pyplot instance. More...
 
procedure, public add_imshow
 Add an image plot (using imshow) More...
 
procedure, public add_hist
 Add a histogram plot to pyplot instance. More...
 
procedure, public savefig
 Save plots of pyplot instance. More...
 
procedure, public showfig
 Show plots of pyplot instance. More...
 
procedure, public destroy
 Destroy pyplot instance. More...
 
procedure execute
 Execute pyplot commands. More...
 
procedure add_str
 Add string to pytplot instance buffer. More...
 
procedure finish_ops
 Some final ops before saving. More...
 

Public Attributes

character(len=:), allocatable python
 the python executable More...
 
character(len=:), allocatable str
 String buffer. More...
 
character(len=:), allocatable real_fmt
 Real number formatting. More...
 
logical show_legend = .false.
 Show legend into plot. More...
 
logical use_numpy = .true.
 Use numpy python module. More...
 
logical use_oo_api = .false.
 Use OO interface of matplotlib (incompatible with showfig subroutine) More...
 
logical mplot3d = .false.
 It is a 3d plot. More...
 
logical polar = .false.
 It is a polar plot. More...
 
logical axis_equal = .false.
 Equal scale on each axis. More...
 
logical tight_layout = .false.
 Tight layout option. More...
 
logical initialized = .false.
 Set to .true. in first initialization. More...
 

Detailed Description

Main python plot class.

Member Function/Subroutine Documentation

◆ add_3d_plot()

procedure, public pyplot_module::pyplot::add_3d_plot

Add a 3d plot to pyplot instance.

◆ add_bar()

procedure, public pyplot_module::pyplot::add_bar

Add a barplot to pyplot instance.

◆ add_contour()

procedure, public pyplot_module::pyplot::add_contour

Add a contour plot to pyplot instance.

◆ add_hist()

procedure, public pyplot_module::pyplot::add_hist

Add a histogram plot to pyplot instance.

◆ add_imshow()

procedure, public pyplot_module::pyplot::add_imshow

Add an image plot (using imshow)

◆ add_plot()

procedure, public pyplot_module::pyplot::add_plot

Add a 2d plot to pyplot instance.

◆ add_sphere()

procedure, public pyplot_module::pyplot::add_sphere

Add a 3d sphere to pyplot instance.

◆ add_str()

procedure pyplot_module::pyplot::add_str

Add string to pytplot instance buffer.

◆ destroy()

procedure, public pyplot_module::pyplot::destroy

Destroy pyplot instance.

◆ execute()

procedure pyplot_module::pyplot::execute

Execute pyplot commands.

◆ finish_ops()

procedure pyplot_module::pyplot::finish_ops

Some final ops before saving.

◆ initialize()

procedure, public pyplot_module::pyplot::initialize

Initialize pyplot instance.

◆ savefig()

procedure, public pyplot_module::pyplot::savefig

Save plots of pyplot instance.

◆ showfig()

procedure, public pyplot_module::pyplot::showfig

Show plots of pyplot instance.

Member Data Documentation

◆ axis_equal

logical pyplot_module::pyplot::axis_equal = .false.

Equal scale on each axis.

◆ initialized

logical pyplot_module::pyplot::initialized = .false.

Set to .true. in first initialization.

◆ mplot3d

logical pyplot_module::pyplot::mplot3d = .false.

It is a 3d plot.

◆ polar

logical pyplot_module::pyplot::polar = .false.

It is a polar plot.

◆ python

character(len=:), allocatable pyplot_module::pyplot::python

the python executable

◆ real_fmt

character(len=:), allocatable pyplot_module::pyplot::real_fmt

Real number formatting.

◆ show_legend

logical pyplot_module::pyplot::show_legend = .false.

Show legend into plot.

◆ str

character(len=:), allocatable pyplot_module::pyplot::str

String buffer.

◆ tight_layout

logical pyplot_module::pyplot::tight_layout = .false.

Tight layout option.

◆ use_numpy

logical pyplot_module::pyplot::use_numpy = .true.

Use numpy python module.

◆ use_oo_api

logical pyplot_module::pyplot::use_oo_api = .false.

Use OO interface of matplotlib (incompatible with showfig subroutine)


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