Hey guys,

I have a question regarding my plot. 
<http://matplotlib.1069221.n5.nabble.com/file/n42446/seaice.png> 
I want to plot seaice thickness distribution. The data is derived from a
model run using an unstructured grid. To plot data on a map I use
Triangulation and tricontourf. The problem I´m facing now is, that due to
the triangulation my data is interpolated, resulting in an ocean covered by
a thin layer of sea ice everywehere, which is unrealistic! So my question
is, is there a way to limit the interpolation to the maximum extend of my
data? I did a plot with MATLAB just to let you know how it should look like. 
<http://matplotlib.1069221.n5.nabble.com/file/n42446/ice_thick_N.jpg> 

My code looks like this so far:

triang = tri.Triangulation(x,y)
fig = plt.figure()
plt.tricontourf(triang, ee, levels = levs, extend = 'both')
cbar=plt.colorbar(orientation = 'horizontal', ticks=[0, 1, 2, 3, 4])
cbar.set_label('Seaice thickness [m]', size=20,fontname='Arial')
fc=map.fillcontinents(color = 'grey')

Since I´m a beginner I would really appreciate any thoughts and suggestions!
Thanks!






--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/Limiting-interpolation-of-map-plot-with-tricontourf-tp42446.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to