Source: annotation_demo.f90
Add text annotations in data coordinates.
annotation_demo.f90 - Source codeoutput/example/fortran/annotation_demo/make example ARGS="annotation_demo"

ASCII output:
Scientific Data with Text Annotations
+--------------------------------------------------------------------------------+
| |
| | |
| 0.6 |
| -- Damped sine: sin(x)e^-x/4 |
| -- Exponential: e^-x - 0.5 |
| 0.5 -- Quadratic: 0.1(x-3)^2 - 0.3 \ |
| |
| | |
| |
| 0.3 **** |
| # ***** . ***** # |
| ## *** *** Peak Region |
| | ## ** ** ## |
| 0.2 #%% *** ### |
| ** ### *** ### |
| **% ## ** ## |
| 0.0 %% ### *** ### |
| * %%% #### *** #### |
| | %% #### *** #### **** |
| %%%v #### *** #### **** |
| -0.2 %%%%% ######### ####%%%%% ******* |
| %%%%%%% ######### *********** |
| %%%%%%%%%%%%%%%% |
| | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| -0.3 |
| |
| |
| -0.5 |
| | - - - - - - - - - - - - - - - - - - - - - - - - - |
| 0.0 0.8 1.6 2.4 3.2 4.0 4.8 5.6 |
+--------------------------------------------------------------------------------+
Independent Variable (x)
Dependent Variable (y)