Thanks Jeff, I think now I get the purpose of maskedearray the way it is 
used in matplotlib.

I have a slightly different objective: I just want to remove outliers 
from my curves. I think I will still play with maskedarray and used the 
compressed() function before 'sending' to matplotlib.
Any comments on that, any other idea?

Thanks,

David

Jeff Whitaker a écrit :
> David Trémouilles wrote:
>> Hi,
>>
>>  I've just start playing with maskedarray (the new implementation) 
>> using fresh svn matplotib (0_91 maintenance).
>> Plotting masked array does not behave as I would have expected.
>> Indeed when drawing a "line graph" the masked walues interrupted the 
>> line (see attach example).
> 
> David:  Yes, this is the correct behavior.  The masked values are 
> treated as missing data.  No attempt is made to fill, or interpolate, 
> the missing data.
>> I would prefer to see a continues line...
> 
> Then you should interpolate the missing values yourself.  I think it 
> would be unwise for matplotlib to guess how you might want to do that.
> 
> -Jeff
>> Is it the expected behavior? Is there a way to change it?
>>
>> Thanks in advance,
>>
>> David
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> 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
> 
> 

-------------------------------------------------------------------------
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