[Matplotlib-users] Gap when using contourf and nan's

2012-11-14 Thread Bror Jonsson
olors='w', alpha=0.5) to present where fld has NaN's on the fld2 plot. Many thanks in advance! Bror Jonsson "If you have a garden and a Library, You have everything you need." -Cicero == Associate R

[Matplotlib-users] Backgroundcolor for text

2010-11-12 Thread Bror Jonsson
his result: <> (The problem is that the text color switches to pale grey). This worked fine before. Does anyone else get this problem, and do you have any idea about how to trouble shoot it? Regards, Bror Jonsson

[Matplotlib-users] Subaxis -> Basemap -> Rectangle

2010-10-07 Thread Bror Jonsson
Dear all, I am trying to add a rectangle in a basemap map that reside in a inlined axis. I am basing this exercise on the following code: (from http://old.nabble.com/display-a-filled-lat-lon-basemap-rectangle.-td28169736.html) from matplotlib.patches import Polygon import matplotlib.pyplot as

[Matplotlib-users] Subaxis -> Basemap -> Rectangle

2010-10-05 Thread Bror Jonsson
0.07,0.25,0.25]) ax2.add_patch(p) map.ax = ax2 map.drawcoastlines() map.drawmapboundary() The map is drawn correctly, but the patch doesn't show up. What am I doing wrong? Thanks for any help!!! :-)Bror Jonsson = Post Do

[Matplotlib-users] Retake control of colorbar?

2010-02-10 Thread Bror Jonsson
Dear all, This is probably a silly question based on my bias from matlab, but I have tried for two days without luck. I need to make pcolor plots in several figures, and the go back and add a scatter on each. This procedure is necessary due to how I read the data. My problem is that I can't fi

[Matplotlib-users] Retake control of colorbar?

2010-02-10 Thread Bror Jonsson
Dear all, This is probably a silly question based on my bias from matlab, but I have tried for two days without luck. I need to make pcolor plots in several figures, and the go back and add a scatter on each. This procedure is necessary due to how I read the data. My problem is that I can't fi