fortplot_matplotlib_axes Module

Axes, scale, and labelling helpers for the matplotlib facade



Functions

public function get_active_axis() result(axis_name)

Arguments

None

Return Value character(len=10)


Subroutines

public subroutine xlabel(label_text)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: label_text

public subroutine ylabel(label_text)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: label_text

public subroutine title(title_text)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: title_text

public subroutine legend(position, box, fontsize)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in), optional :: position
logical, intent(in), optional :: box
integer, intent(in), optional :: fontsize

public subroutine grid(enabled, which, axis, alpha, linestyle)

Arguments

Type IntentOptional Attributes Name
logical, intent(in), optional :: enabled
character(len=*), intent(in), optional :: which
character(len=*), intent(in), optional :: axis
real(kind=wp), intent(in), optional :: alpha
character(len=*), intent(in), optional :: linestyle

public subroutine xlim(xmin, xmax)

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: xmin
real(kind=wp), intent(in) :: xmax

public subroutine ylim(ymin, ymax)

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: ymin
real(kind=wp), intent(in) :: ymax

public subroutine set_xscale(scale, threshold)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: scale
real(kind=wp), intent(in), optional :: threshold

public subroutine set_yscale(scale, threshold)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: scale
real(kind=wp), intent(in), optional :: threshold

public subroutine set_line_width(width)

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: width

public subroutine set_ydata(ydata)

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: ydata(:)

public subroutine use_axis(axis_name)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: axis_name