text Subroutine

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

Add text annotation to the current figure

Parameters: x, y: Position coordinates text_content: Text to display coord_type: Coordinate system (COORD_DATA, COORD_FIGURE, COORD_AXIS) font_size: Text size in points rotation: Rotation angle in degrees alignment: Text alignment (left, center, right) has_bbox: Add background box ha: Horizontal alignment alias

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