Hi Kåre:

Glad the basic build-tree test (ctest) and the basic install-tree test are
working for you.  Note the library version shown by the latter should be
5.7.2 (corresponding to the CVS version of PLplot) rather than 5.6.1 as
implied by what you said.  I believe it is only the CVS version of PLplot
that configures the test_perl.sh file properly (via LD_LIBRARY_PATH) so that
you always get the PLplot library version that you just built and installed
as opposed to some system version.

On 2007-02-22 10:19+0100 Kåre Edvardsen wrote:

>
> Syntax seem almost straight forward, but the it seems like the function
> call paramaters does not come in same order for c and perl
>
> C: plshades(z, nx, ny, NULL, -1., 1., -1., 1., ...and so on
>
> perl: plshades (z, -1., 1., -1., 1., ...and so on,
>
> and I've got some difficulties recognizing them, but I will look into it
> now.

Yes, that NULL C argument above stands for zdefined which is moved to a
different place in the PDL argument for probably historical reasons. Note,
the C API for both plshade (example 15) and plshades (example 16) is quite
tricky and hard to emulate in other languages so your best choice for these
two functions is to consult the implementation of the PDL interface to
PLplot. That project has been implemented independently of PLplot and is
separately maintained by Doug Hunt.  (Doug, if you are lurking on this list
please speak up.) Anyhow, Kåre, you picked one of the most difficult cases
to deal with (plshades), and other PDL calls to PLplot functions usually
follow the general rules (dropped redundant dimension arguments as in nx and
ny above) much better with no argument list rearranging.

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
__________________________

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to