Path: utzoo!news-server.csri.toronto.edu!rutgers!cmcl2!adm!hsdndev!wuarchive!usc!elroy.jpl.nasa.gov!jarthur!nntp-server.caltech.edu!kanga!madler From: madler@kanga.caltech.edu (Mark Adler) Newsgroups: comp.sys.next Subject: Re: Help : Gnuplot Message-ID: <1991Mar4.083019.3893@nntp-server.caltech.edu> Date: 4 Mar 91 08:30:19 GMT References: <3MAR91130458@uazhe0.physics.arizona.edu> Sender: news@nntp-server.caltech.edu Distribution: usa,local Organization: California Institute of Technology, Pasadena Lines: 33 >> Can someone help me get Gnuplot2.02 working? Yes. >> The 'make' goes fine but when I run gnuplot and try 'plot sin(x)' >> I get 'all points undefined!'. what went wrong? What went wrong is that the definition of VERYLARGE messes up comparisons. The other changes you made were exactly correct. Here's what to do ... How to get gnuplot2.02 to work: 0. Get it from duke.cs.duke.edu as gnuplot/gnuplot2.02.tar.Z 1. Do "cp makefile.unx makefile". 2. Edit makefile, change "gamma" in line 28 to "lgamma", remove "-lplot" from line 34, and remove "-DUNIXPLOT" from line 44. 3. Edit plot.h and change "HUGE" to "1e300" on line 102. To test, enter these commands: set term epsf2 set output "sinc.eps" plot [-20:20] sin(x)/x quit and then open sinc.eps (double-clicking it or using "open sinc.eps" will tell Preview to show it). Have fun. Mark Adler madler@pooh.caltech.edu