You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple module for generating plots from Fortran using Python's matplotlib.pyplot.
5
5
6
-
Overview
7
-
---------------
6
+
### Overview
8
7
9
8
Currently, this module can be used to generate simple plots from Fortran. Eventually, it may be expanded to provide additional features and other types of plots.
10
9
11
10
The way it works is simply to generate a Python script with the plotting code, which
12
11
is then executed from the command line using the Fortran ```execute_command_line``` function.
13
12
14
-
The module requires a modern Fortran compiler (it uses various Fortran 2003/2008 features such as deferred-length strings). It should work fine with the latest gfortran or ifort compilers. A simple script ```build.sh``` is provided for building the library and test program (requires gfortran and [FoBiS](https://github.com/szaghi/FoBiS)). It will also build the HTML documentation if [FORD](https://github.com/cmacmackin/ford) is installed.
13
+
The module requires a modern Fortran compiler (it uses various Fortran 2003/2008 features such as deferred-length strings). It should work fine with the latest gfortran or ifort compilers. A simple script ```build.sh``` is provided for building the library and test program (requires gfortran and [FoBiS](https://github.com/szaghi/FoBiS)). It will also build the HTML documentation if [FORD](https://github.com/Fortran-FOSS-Programmers/ford) is installed. A `fpm.toml` file is also provided for use with the [Fortran Package Manager](https://github.com/fortran-lang/fpm).
15
14
16
-
Supported plot types
17
-
---------------
15
+
### Supported plot types
18
16
19
17
*```matplotlib.pyplot.plot``` -- 2D/3D plot of lines and/or markers
* The API documentation for the current ```master``` branch can be found [here](https://jacobwilliams.github.io/pyplot-fortran/). This is generated by processing the source files with [FORD](https://github.com/Fortran-FOSS-Programmers/ford). Note that the build script will also generate these files automatically in the ```doc``` folder, assuming you have FORD installed.
60
57
61
-
* The API documentation for the current ```master``` branch can be found [here](http://jacobwilliams.github.io/pyplot-fortran/). This is generated by processing the source files with [FORD](https://github.com/cmacmackin/ford). Note that the build script will also generate these files automatically in the ```doc``` folder, assuming you have FORD installed.
0 commit comments