Demonstration of intelligent show() functionality
This program creates a simple plot and displays it using show(), which automatically detects if GUI is available: - If GUI available: Opens in system PDF viewer (like matplotlib.pyplot.show()) - If no GUI: Falls back to ASCII terminal display
Usage: make example ARGS="smart_show_demo"
| Type | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|
| integer, | parameter | :: | n | = | 50 | |
| real(kind=wp), | dimension(n) | :: | x | |||
| real(kind=wp), | dimension(n) | :: | y | |||
| integer | :: | i |