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
+--------------------------------------------------------------------------------+
| Peak Region Maximum: (1.33, .70) |
| 0.6 - SCIENTIFIC ANALYSIS |
| ---------- |
| % -- --- -- Damped sine: $sin(x)e^{-x/4}$ % |
| %% -- --- -- Exponential: $e^{-x} - 0.5$ %% >|
| 0.4 -- - . -- Quadratic: $0.1(x-3)^2 - 0.3$ |
| * % - . .-- % |
| = %% . . -- %% |
| = - % . - % |
| 0.2= %% -- %% |
| * == %% -- %% |
| - = %% -- %% |
| - = %% -- %% |
| 0.0 = %%% -- %%% |
| * == %% -- %% |
| == %%% - %%% --- |
| == < %% --- %% --- |
| -0.2 === %%%% --- %%%% --- |
| * === %%%%% %%%%%- ----- . . |
| === %%%%%%%%%%%%%%% ------------- . . . |
| ====== . . |
| -0.4 ========= |
| * * * * * * * * * * * * *===*==*==*==*==*==*==Asymptotic approach* |
|0 1 2 3 4 5 6 |
+--------------------------------------------------------------------------------+
Independent Variable (x)
Dependent Variable (y)