annotate Subroutine

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

Parameters: text_content: Text to display xy: Arrow target coordinates [x, y] xytext: Text position coordinates [x, y] (optional, defaults to xy) xy_coord_type: Coordinate system for arrow target xytext_coord_type: Coordinate system for text position arrow_style: Arrow styling properties arrow_color: Arrow color specification font_size: Text size in points has_bbox: Add background box alignment: Text alignment ha: Horizontal alignment alias

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