This example demonstrates matplotlib-style format strings for quick and intuitive plot styling.
format_string_demo.f90
- Source codeformat_string_demo.png/pdf/txt
- Various format string examplesmake example ARGS="format_string_demo"
Format: [color][marker][linestyle]
b
- bluer
- redg
- greenk
- blackm
- magentac
- cyany
- yellow-
- solid line--
- dashed line:
- dotted line-.
- dash-dot lineo
- circles
- square^
- triangle*
- star'r-'
- Red solid line'bo'
- Blue circles (no line)'g--'
- Green dashed line'k:o'
- Black dotted line with circles