Wacek Kusnierczyk wrote:
> there's another way.  use the rpy's NaN (or numpy's nan):
>
> import rpy # import numpy
> x = range(10)
> x[5] = rpy.NaN  # x[5] = numpy.nan
> rpy.r.plot(x)
> rpy.r.lines(x)
>
>   
... note: nan is not quite the same as na, but it seems ok for the 
purpose of the initial plotting problem.

vQ

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rpy-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to