tweak fortran pages

This commit is contained in:
tTh
2023-03-04 12:48:05 +01:00
parent 6c2d6476b8
commit aa3d078e21
4 changed files with 88 additions and 30 deletions

5
code/fortran/Makefile Normal file
View File

@@ -0,0 +1,5 @@
INCS = -I/usr/include/plplot -I/usr/lib/x86_64-linux-gnu/fortran/modules/plplot
plplotting: plplotting.f90 Makefile
gfortran -g $< $(INCS) -lplplotfortran -o $@

View File

@@ -0,0 +1,8 @@
program plplotting
use plplot
implicit none
call plinit ()
call plenv(-2.1, 2.1, -2.1, 2.1, 0, 0)
call plend
end program