On 2008-12-05 17:59-0700 Doug Hunt wrote:

> Hi Alan:  I just checked in fixes to x21.pl and a new x27.pl.
>
> As to your question below, I'm working on a 32 bit system, so this could be a 
> 32/64 bit bug.

Hi Doug:

I have committed (revision 9057) a number of small changes relating to
PDL::Graphics::PLplot version 0.44.  In particular I have updated
examples/perl/README.perldemos with your version, and then added a few more
minor writing changes of my own.  Those instructions work for me, and here
are my resulting ctest compare results for PDL::Graphics::PLplot version
0.44

perl
   Missing examples   :  28 29 30
   Differing examples :  02 23 27

I have already commented on 02 (which requires testing by others to confirm
it is a 32/64 bit issue).  Also, the PDL example 23 is much shorter than the
corresponding C version (and doesn't output the messages to the command line
that the C version does) so I assume you haven't looked at that one yet.

I highly recommend installing ndiff (a fuzzy diff implementation) for
analyzing rounding issues that seem to occur, for example, in example 27.

Here are the initial ndiff results I obtained for that example.

~/ndiff/install/bin/ndiff -relerr 0.01 plplot_test/x27c.psc \
plplot_test/x27pdl.psc 
2c2
< %%BoundingBox: 52 59 552 729
--- field 5
> %%BoundingBox: 
3c3
< %%%%%%%%%%%%%%%%%%%%%%
--- field 1
> %%%%%%%%%%%%%%%%%%%%%%%%%%%
6c6
< %%CreationDate: Mon Dec  8 10:21:20 2008
--- field 5
> %%CreationDate: Mon Dec  8 10:29:02 2008
63186c63186
< 1326 3166 D 1285 3159 D 1246 3150 D 1206 3138 D 1167 3124 D S
--- field 16
> 1326 3166 D 1285 3159 D 1246 3150 D 1206 3138 D 1167 3124 D
### Maximum relative error in matching lines = 4.29e-03 at line 11279 field 8
second file is short

Notice how ndiff removes the rounding obfuscation so it is easier to spot
other issues.

I have just now put in a fix (revision 9058) for the short file and
bounding-box issues.  The ndiff results are now much better.

[EMAIL PROTECTED]> ~/ndiff/install/bin/ndiff -relerr 0.01 plplot_test/x27c.psc
plplot_test/x27pdl.psc 
6c6
< %%CreationDate: Mon Dec  8 10:21:20 2008
--- field 5
> %%CreationDate: Mon Dec  8 10:48:14 2008
### Maximum relative error in matching lines = 4.29e-03 at line 11279 field 8

That amount of rounding error is unusual for the PDL examples. I therefore
suspect some bindings (or 27th example) precision issue such as using too
low a precision (e.g., integers rather than floats) for some value or
values.

I look forward to testing more of your PDL::Graphics::PLplot updates as
they occur, and I encourage others to do such testing as well.

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