Basic user program demonstrating fortplot compilation and usage This program serves as a template for users to verify their fortplot setup and learn basic plotting functionality.
| Type | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|
| integer, | parameter | :: | n | = | 100 | |
| real(kind=wp), | dimension(n) | :: | x | |||
| real(kind=wp), | dimension(n) | :: | y_sin | |||
| real(kind=wp), | dimension(n) | :: | y_cos | |||
| integer | :: | i |