Text and annotation functions implementation Provides pyplot-style text() and annotate() functions that integrate with the global figure and annotation system
Add text annotation to the current figure
| Type | Intent | Optional | 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 | 
Add arrow annotation to the current figure
| Type | Intent | Optional | 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 |