Plot an Input (2-D) Function using FORTRAN


Input the floating point values of the quantities:

starting point in x:  

ending point in x:

starting point in y:

ending point in y:

type the function of x & y (in FORTRAN) below (USE NO SPACES)

need more space? type "+ (or -, as needed)" followed by more of the function of x & y (in FORTRAN) below (USE NO SPACES)

To use the value of pi (=3.1412...) type pi in your expression


This page demonstrates a method to: (a) give a Fortran program input numbers and input code, (b) run the program, and (c) print and plot the results.
The output consists of plotting a .gif file of the same graph. gnuplot is used.

Known problem: contours plotted for magnitudes >1.e-20. However, 3-d surface only for magnitudes >1.e-8. (Ranges rescaled to -1:1 if range is smaller than these numbers.)
Use decimal points to force floating point number transfer.


This web page and associated parts were created by R. Grotjahn. Last update: 18 September 1998.
The scheme is based on a template provided by Ed Siegner ejsiegner@ucdavis.edu" on 11 August, 1998.
Further assistance was provided by Erick Lorenz.

Hit Counter