Source: probability_animation_demo.f90
Animate a Gaussian probability distribution as its width changes over time.
probability_animation_demo.f90 - Source codeoutput/example/fortran/probability_animation_demo/make example ARGS="probability_animation_demo"
ASCII output:
=== Frame 1 ===
Gaussian with increasing sigma
+--------------------------------------------------------------------------------+
| 0.70 |
| | |
| 0.70 |
| |
| 0.60 |
| 0.60 |
| 0.50 |
| | |
| 0.50 |
| |
| 0.40 |
| 0.40 |
| | - |
| 0.30 - - |
| 0.30 - - |
| - - |
| 0.20 - - |
| | - - |
| 0.20 -- -- |
| 0.10 - - |
| 0.10 - - |
| -6 -- -- |
| |---------5---------3--------2-- -- --0-- - ----2---------3--------5--------6- |
| -6 -5 -3 -2 0 2 3 5 6 |
+--------------------------------------------------------------------------------+
x
density
=== Frame 2 ===
Gaussian with increasing sigma
+--------------------------------------------------------------------------------+
| 0.70 |
| | |
| 0.70 |
| |
| 0.60 |
| 0.60 |
| 0.50 |
| | |
| 0.50 |
| |
| 0.40 |
| 0.40 |
| | |
| 0.30 --- |
| 0.30 -- -- |
| -- -- |
| 0.20 - - |
| | - - |
| 0.20 -- -- |
| 0.10 -- -- |
| 0.10 -- -- |
| -6 -- -- |
| |---------5---------3--------2-- -- --0-- - ----2---------3--------5--------6- |
| -6 -5 -3 -2 0 2 3 5 6 |
+--------------------------------------------------------------------------------+
... (truncated)