Chris,

Use masked arrays.  See masked_demo.py in the mpl examples subdirectory.

Eric

Chris Withers wrote:
> Hi All,
> 
> Say I have data that looks like:
> 
> date         x  y  z
> 2008-01-01  10
> 2008-01-02  21 11
> 2008-01-02  32 15  5
> 
> How can I plot it such that all three lines are plotted by that it's 
> apparent two of them are missing some data?
> (I know I could just sub in zeros for the missing values, but I'd like 
> the point not to be there, not just down the bottom of the graph...)
> 
> cheers,
> 
> Chris
> 


-------------------------------------------------------------------------
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/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to