Hi Brendon,

Well, NaN can be stored in a float and is even "created" by float('NaN'). It 
should be fine if you use something else to mark nonexistent data points. I 
prefer to use "*".


André


Am 19.11.2010 um 04:06 schrieb Brendon Higgins:

> Hi,
> 
> For one plot I had a set of data defined in a text file, but not all of them 
> were sensible for particular x positions. So I set some data points to NaN so 
> that they wouldn't be drawn in the plot (I'm using a line style). Things 
> seemed to work fine like this when viewing the resulting PDF in Okular, but I 
> later found out that acroread and foxit come up with errors, and do not show 
> the complete plot, when they try to render the PDF.
> 
> I've been too busy to test it thoroughly, unfortunately. Is anyone else aware 
> of this? Perhaps my assumption that "NaN" would be parsed to something 
> sensible was unjustified. (If so, should PyX be allowing such things to pass 
> without error or warning?)
> 
> Peace,
> Brendon
> 
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> PyX-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pyx-user

-- 
by  _ _      _    Dr. André Wobst, Amselweg 22, 85716 Unterschleißheim
   / \ \    / )   [email protected], http://www.wobsta.de/
  / _ \ \/\/ /    PyX - High quality PostScript and PDF figures
 (_/ \_)_/\_/     with Python & TeX: visit http://pyx.sourceforge.net/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to