Ok. Then what do you think would be the best way to have a smooth graph like
the contourf but with the data shown by pcolor? The best of both worlds in
other words :)

Thanks,
Anton



Jeff Whitaker wrote:
> 
> antonv wrote:
>> When plotting the same ocean data with contourf or pcolor I noticed a
>> difference at the edge between ocean area and the land where there is no
>> data. Basically, contourf is trimming from the edge and when using
>> basemap
>> you can see the underlying fill color. Is this normal behaviour or am I
>> doing something wrong?
>>
>> I've attached 2 images to show exactly what is happening.
>>
>> Thanks,
>> Anton
>>
>>
>> http://www.nabble.com/file/p21397184/img_contourf.png img_contourf.png 
>> http://www.nabble.com/file/p21397184/img_pcolor.png img_pcolor.png 
>>   
> Anton:  Contourf and pcolor deal with missing values in masked arrays  
> differently, so yes - I think this is normal behavior.
> 
> -Jeff
> 
> ------------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It is the best place to buy or sell services for
> just about anything Open Source.
> http://p.sf.net/sfu/Xq1LFB
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Plotting-difference-between-contourf-and-pcolor-tp21397184p21400596.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to