Quiver Demo

Quiver Demo

Source: quiver_demo.f90

See source and outputs below.

Files

  • quiver_demo.f90 - Source code
  • Generated media in output/example/fortran/quiver_demo/

Running

make example ARGS="quiver_demo"

Output

Quiver Demo

quiver_demo.png

ASCII output:

                        Quiver Plot Demo - Circular Flow
+--------------------------------------------------------------------------------+
| 1.0                                                                            |
| *                                                                              |
|                                                                                |
|                                                                                |
| 0.8            \                                   ^                           |
|                                                                                |
| *                                                                              |
|                                                                                |
|                                                                                |
| 0.6                                                                            |
| *                                                                              |
|                                                                                |
|                                                                                |
| 0.4                                                                            |
| *              <                                   \                           |
|                                                                                |
|                                                                                |
|                                                                                |
| 0.2                                                                            |
|                                                                                |
|                                                                                |
|                                                                                |
| *              *              *               *              *               * |
|0.0            0.2             0.4             0.6             0.8          1.0 |
+--------------------------------------------------------------------------------+
                                       X
Y

Download ASCII

Download PDF

Quiver Scaled

quiver_scaled.png

ASCII output:

                       Quiver Plot Demo - Smaller Arrows
+--------------------------------------------------------------------------------+
| 1.0                                                                            |
| *                                                                              |
|                                                                                |
|                                                                                |
| 0.8            \                                   ^                           |
|                                                                                |
| *                                                                              |
|                                                                                |
|                                                                                |
| 0.6                                                                            |
| *                                                                              |
|                                                                                |
|                                                                                |
| 0.4                                                                            |
| *              <                                   \                           |
|                                                                                |
|                                                                                |
|                                                                                |
| 0.2                                                                            |
|                                                                                |
|                                                                                |
|                                                                                |
| *              *              *               *              *               * |
|0.0            0.2             0.4             0.6             0.8          1.0 |
+--------------------------------------------------------------------------------+
                                       X
Y

Download ASCII

Download PDF