This example demonstrates terminal-based heatmap visualization using ASCII characters.
ascii_heatmap_demo.f90
- Source codemake example ARGS="ascii_heatmap_demo"
Values mapped to density characters:
- (space) - Lowest values
-
.
- Low values
- :
- Medium-low values
- -
- Medium values
- =
- Medium-high values
- +
- High values
- *
- Higher values
- #
- Highest values
ASCII Heatmap Demo
==================
#***+++===---:::...
**+++===---:::...
*+++===---:::...
+++===---:::...
++===---:::...
+===---:::...
===---:::...
==---:::...
=---:::...
---:::...