From: Alan W. I. <ir...@be...> - 2007-02-20 18:52:01
|
On 2007-02-20 16:19+0100 K=E5re Edvardsen wrote: > Dear list'ers > > I'm struggling with a surface shade plot and can't figure out what I'm > doing wrong. I can't find any info other than the plplot homepage > examples regarding PerlDL, and all I get by following those examples are > just black surfaces... I just checked, and the standard pdl examples work for me on Debian stable (except I cannot do the map example since plmap is not implemented for that old version of pdl). Thus, I suspect there is something wrong/inconsistent with the version of PLplot that is linked to your version of pdl. To be sure you are using a modern good version of PLplot with the PDL available on your platform, here is what I would like you to do (which follows what I did for the above test). (1) Build PLplot from the current CVS version (which is quite stable). Follow the directions at http://www.miscdebris.net/plplot_wiki/ except that you should use the -DENABLE_pdl=3DON -DBUILD_TEST=3DON options for cmake. (The first allows pdl and the second allows ctest). You can stop after the make command (i.e., at this point you don't have to do the make install command). It is a good idea to save all output from the cmake and make commands in case there is any trouble with the ctest step below. (2) After executing the "make" command run ctest --verbose --tests-regex perl >& ctest.out (drop the --tests-regex perl option if you want to test everything). You should see postscript files that have been generated in the build tree test subdirectory as a result of that ctest command. Use a postscript viewer to look at them, (e.g., "gv test/x16pdl.ps"). Hopefully you will ge= t good-looking results that verify that all is well with PDL and the CVS version of PLplot on your platform, and we can take it from there to get equivalent good-looking results for your own pdl examples. If you notice cmake, make, or ctest errors or get no pdl results, then plea= se post to the list with the complete output from cmake, make, and ctest (i.e.= , cmake.out, make.out, and ctest.out) attached. Those files are usually neede= d to help us figure out what the problem is on any particular platform. Alan __________________________ Alan W. Irwin 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 __________________________ |