$ f95 (extraoptions) -o gnuplot_fortran95_testbench \ gnuplot_fortran95_testbench.f90 -lfortranposix -lgnuplotfortran $ ./gnuplot_fortran95_testbench
If things worked out well (in other words, Waheguru is smiling on you today), the above should start off a series of semi-interactive plot directives and leave a hardcopy of one of the plots in the working directory.