fortplot_plot_annotations Module

Plot annotation operations module

This module handles text and arrow annotations for plots including coordinate system specification and styling options.



Subroutines

public subroutine add_text_annotation(self, x, y, text, coord_type, font_size, rotation, ha, va, bbox, color, alpha, weight, style)

Add text annotation to figure

Arguments

Type IntentOptional Attributes Name
class(figure_t), intent(inout) :: self
real(kind=wp), intent(in) :: x
real(kind=wp), intent(in) :: y
character(len=*), intent(in) :: text
character(len=*), 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 :: ha
character(len=*), intent(in), optional :: va
logical, intent(in), optional :: bbox
real(kind=wp), intent(in), optional :: color(3)
real(kind=wp), intent(in), optional :: alpha
character(len=*), intent(in), optional :: weight
character(len=*), intent(in), optional :: style

public subroutine add_arrow_annotation(self, text, xy, xytext, xy_coord_type, xytext_coord_type, arrowprops, font_size, color, alpha)

Add arrow annotation to figure

Arguments

Type IntentOptional Attributes Name
class(figure_t), intent(inout) :: self
character(len=*), intent(in) :: text
real(kind=wp), intent(in) :: xy(2)
real(kind=wp), intent(in) :: xytext(2)
character(len=*), intent(in), optional :: xy_coord_type
character(len=*), intent(in), optional :: xytext_coord_type
character(len=*), intent(in), optional :: arrowprops
real(kind=wp), intent(in), optional :: font_size
real(kind=wp), intent(in), optional :: color(3)
real(kind=wp), intent(in), optional :: alpha