fortplot_text_stub Module

Text and annotation functions implementation Provides pyplot-style text() and annotate() functions that integrate with the global figure and annotation system



Subroutines

public subroutine text(x, y, text_content, coord_type, font_size, rotation, alignment, has_bbox, ha)

Add text annotation to the current figure

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: x
real(kind=wp), intent(in) :: y
character(len=*), intent(in) :: text_content
integer, intent(in), optional :: coord_type
real(kind=wp), intent(in), optional :: font_size
real(kind=wp), intent(in), optional :: rotation
character(len=*), intent(in), optional :: alignment
logical, intent(in), optional :: has_bbox
character(len=*), intent(in), optional :: ha

public subroutine annotate(text_content, xy, xytext, xy_coord_type, xytext_coord_type, arrow_style, arrow_color, font_size, has_bbox, alignment, ha)

Add arrow annotation to the current figure

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: text_content
real(kind=wp), intent(in), dimension(2) :: xy
real(kind=wp), intent(in), optional, dimension(2) :: xytext
integer, intent(in), optional :: xy_coord_type
integer, intent(in), optional :: xytext_coord_type
character(len=*), intent(in), optional :: arrow_style
character(len=*), intent(in), optional :: arrow_color
real(kind=wp), intent(in), optional :: font_size
logical, intent(in), optional :: has_bbox
character(len=*), intent(in), optional :: alignment
character(len=*), intent(in), optional :: ha