# to compile with PGPLOT and X11 under linux #To use pgplot it is necessary to indicate the environment variable PGPLOT_DIR, #which specifies the directory location of certain pgplot files (eg grfont.dat). # #On my laptop redhat 4.2 I use: #export 'PGPLOT_DIR=/usr/local/pgplot' # #On my desktop redhat6.0 I use: #setenv 'PGPLOT_DIR=/usr/local/pgplot' # g77 -ffixed-line-length-0 -o $1.e $1.f -L/usr/local/pgplot/ -lpgplot -L/usr/X11R6/lib -lX11 /usr/lib/libpng.so.2