This example demonstrates intelligent display mode selection based on environment.
smart_show_demo.f90
- Source codemake example ARGS="smart_show_demo"
DISPLAY
variable (Linux/Unix)SSH session detection
Select backend:
File output → User specified
Fallback chain:
Opens in image viewer with full graphics
Smart Plot Display
==================
1.0 | **
| * *
0.5 | * *
| * *
0.0 |* *
-0.5 | *
| *
-1.0 | **
+---------------
0 2π