FPM project template for fortplot users This is a complete working example of how to structure a Fortran project that uses fortplot with FPM.
| Type | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|
| integer, | parameter | :: | n | = | 200 | |
| real(kind=wp), | dimension(n) | :: | x | |||
| real(kind=wp), | dimension(n) | :: | y1 | |||
| real(kind=wp), | dimension(n) | :: | y2 | |||
| real(kind=wp), | dimension(n) | :: | y3 | |||
| integer | :: | i |