fortplot
fortplot Documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
draw_basic_axes_frame
Subroutine
18 statements
Source File
fortplot_margins.f90
fortplot_margins
draw_basic_axes_frame
Contents
public subroutine draw_basic_axes_frame(plot_area, draw_line_proc)
Draw basic rectangular axes frame Uses a procedure pointer to be backend-agnostic
Arguments
Type
Intent
Optional
Attributes
Name
type(
plot_area_t
),
intent(in)
::
plot_area
private subroutine draw_line_proc(x1, y1, x2, y2)
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=wp),
intent(in)
::
x1
real(kind=wp),
intent(in)
::
y1
real(kind=wp),
intent(in)
::
x2
real(kind=wp),
intent(in)
::
y2