From: Alan W. I. <ir...@be...> - 2004-12-17 17:20:23
|
On 2004-12-17 14:00+0100 S=E9bastien Villemot wrote: > Hi, > > I am currently trying to recompile a scientific software which uses a > very old version of plplot (around 1992-1994). The software can be found > here: > http://econ.lse.ac.uk/staff/dquah/tsrf.html For the others here, that appears to be an application written in C. > > I've tried to recompile it with a recent version of plplot (5.3.1), but > plplot complained about plinit() not having been called, and several > other things. > > I think the simplest way would be to get the source tarball of plplot > that the author initially used for his software; unfortunately, he > doesn't provide it anymore. S=E9bastien, I think the best way to deal with this problem is to change th= at old application code to be compatible with the modern PLplot library. If you follow the documentation at http://plplot.sourceforge.net/docbook-manual/plplot-html-5.3.1/ (especially Chapter 2 which will give you some ideas about initializing PLplot and=20 Chapter 16 which documents the modern API), I think that task will be entirely straightforward. Also, I suggest you look at some of our many examples (in examples/c) for guidance about how to call the PLplot C library. If you have any specific questions about a modern equivalent to some old PLplot call, don't hesitate to post your question to this list. Good luck! Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |