Darren Dale wrote:
> On Wednesday 18 July 2007 6:56:18 am Armando Serrano Lombillo wrote:
>> Yes!
>> matplotlib is beautiful. Thanks everybody for your help.
> 
> Here is another way, with numpy arrays:
> 
> data[data==0]=nan
> 
> plot(data)

Support for nan in input arrays in mpl is not uniform, though, so the 
masked array alternative is preferred.

Eric


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to