Hi Alan:

I did correct some perl roundoff errors as part of fixing up x02.pl, 
but I've checked these changes in.

Right now from my build of plplot, I don't see any difference in the 
postscript output:

cd examples
c/x02c -dev psc -o x02c.ps
perl/x02.pl -dev psc -o x02perl.ps
diff x02c.ps x02perl.ps
6c6
< %%CreationDate: Fri Dec  5 10:26:34 2008
---
> %%CreationDate: Fri Dec  5 10:26:50 2008

In particular, the line:

1.0000 0.0745 0.0745 C Z

is present in both postscript files.

I seem to have checked everything in to the plplot SVN, and I don't
think there is any difference in our PDL-Graphics-PLplot-0.42 drivers.

I don't know how you run your 'ctest' suite.  Maybe there is some 
difference there?  Is it possible you are running with an old x02.pl?

Regards,

   Doug

[EMAIL PROTECTED]
Software Engineer III
UCAR - COSMIC, Tel. (303) 497-2611

On Fri, 5 Dec 2008, Alan W. Irwin wrote:

> Hi Doug:
>
> I was able to get
> http://search.cpan.org/CPAN/authors/id/D/DH/DHUNT/PDL-Graphics-PLplot-0.42.tar.gz
> working.  I have put my recipe for doing this into 
> examples/perl/README.perldemos (revision 9039), and I have also
> completed my build system changes so that HAVE_PDL_GRAPHICS_PLPLOT_40 is
> now (revision 9040) automatically determined.
>
> Here are the ctest results using your latest (version 0.42) tarball from
> CPAN.
>
> perl
>  Missing examples   :  27 28 29 30
>  Differing examples :  02 08 21 23
>
> I looked more closely at the example 2 difference since you worked on that
> recently.  I got context diff pairs similar to the following when comparing
> the pdl and corresponding C example:
>
> -1.0000 0.0745 0.0745 C Z
> +0.9961 0.0745 0.0745 C Z
>
> I don't understand PostScript that well, but these are RGB colour triplet
> numbers.  This diff (and many more) show your RGB triplets are not quite the
> same as those set in the C example.  I don't know whether your problem is
> located in your PDL interface or example 2, but the issue needs further
> investigation.  That difference between 1.000 and 0.9961 seems quite
> familiar to me.  I think there used to be a similar problem (some cast from
> integer to float not following the C example?) with Ada example 2, but I may
> be remembering that wrong.
>
> The other example you recently worked on was 20, and the above results show
> a perfect comparison for that which is an encouraging step forward.
>
> 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 libLASi project (unifont.org/lasi); the Loads of
> Linux Links project (loll.sf.net); and the Linux Brochure Project
> (lbproject.sf.net).
> __________________________
>
> Linux-powered Science
> __________________________
>

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to