This example demonstrates pseudocolor plots for efficient 2D data visualization.
pcolormesh_demo.f90
- Source codepcolormesh_basic.png/pdf/txt
- Basic pcolormesh plotpcolormesh_plasma.png/pdf/txt
- Pcolormesh with plasma colormappcolormesh_sinusoidal.png/pdf/txt
- Sinusoidal patternmake example ARGS="pcolormesh_demo"
ASCII output preview:
Basic Pcolormesh - Linear Gradient
+--------------------------------------------------------------------------------+
|1.20 |
| + * # % @ |
|0.90 - = + * # |
| . : - = + |
|0.60 . . : - = |
| . . . : - |
|0.30 . . . . : |
| . . . . . |
|0.00+--------+----------+----------+----------+----------+--------+ |
0.0 0.4 0.8 1.2 1.6 2.0 |
+--------------------------------------------------------------------------------+
X coordinate
Y coordinate
Full ASCII Output: Download pcolormesh_basic.txt | ASCII Format Guide
ASCII output preview:
Pcolormesh - Sinusoidal Pattern
+--------------------------------------------------------------------------------+
|1.20 = = = = = = = = |
| + + + + + + + + |
|0.90 * * * * * * * * |
| # # # # # # # # |
|0.60 % % % % % % % % |
| @ @ @ @ @ @ @ @ |
|0.30 . . . . . . . . |
| : : : : : : : : |
|0.00+--------+----------+----------+----------+----------+--------+ |
0.0 0.4 0.8 1.2 1.6 2.0 |
+--------------------------------------------------------------------------------+
X coordinate
Y coordinate
Full ASCII Output: Download pcolormesh_sinusoidal.txt | ASCII Format Guide
ASCII output preview:
Pcolormesh - Radial Pattern (Plasma)
+--------------------------------------------------------------------------------+
|1.20 = - = + = = # = # = =+ = |
| + * + * + + % + % + +* + |
|0.80 # @ # @ # # = # = # #@ # |
| % . % . % % : % : % %. % |
|0.60 @ : @ : @ @ . @ . @ @: @ |
| = - = - = = + = + = =- = |
|0.30 : + : + : : * : * : :+ : |
| . # . # . . % . % . .# . |
|0.00+--------+----------+----------+----------+----------+--------+ |
0.0 0.4 0.8 1.2 1.6 2.0 |
+--------------------------------------------------------------------------------+
X coordinate
Y coordinate
Full ASCII Output: Download pcolormesh_plasma.txt | ASCII Format Guide