Pablo Romero writes:
> How can I go about correcting this, so that the 'basemap.contour()'
> function draws the contours BEFORE drawing the coastlines & filled
> continents?
Use appropriate zorder arguments in your method calls:
http://matplotlib.sourceforge.net/examples/pylab_examples/zorder_d
Pablo Romero writes:
> Im having an issue where contourf is producing visible defects in the
> shaded contours (within png output) with alpha values that are less
> then 1.0.
Looks like the same problem as this one:
http://thread.gmane.org/gmane.comp.python.matplotlib.general/16225
--
Jouni K.
Im having an issue with the plotting of contours using basemap.
My contours are incorrectly being plotted on top of my basemap
coastlines&continents.
Ive attached an image as an example:
Note that the red contour lines near land areas are OVERLAPPING the coastlines
& continents, instead of b
Brian Granger wrote:
> Hi,
>
> matplotlib 0.98.3 runs fine on my system. However, when I do "ipython
> -pylab" with 0.98.5.2 on OS X, I get:
>
> from matplotlib import ft2font
> ImportError:
> dlopen(/Users/bgranger/Library/Python/2.5/site-packages/matplotlib/ft2font.so,
> 2): Symbol not foun
Hi,
matplotlib 0.98.3 runs fine on my system. However, when I do "ipython
-pylab" with 0.98.5.2 on OS X, I get:
from matplotlib import ft2font
ImportError:
dlopen(/Users/bgranger/Library/Python/2.5/site-packages/matplotlib/ft2font.so,
2): Symbol not found: _FT_Get_PS_Font_Info
Referenced
Pablo Romero wrote:
> Eric,
>
> thanks for all of the help.
>
> Im going to do what you suggested; find a way to add a very small amount to
> my '0.0' values, as this should definitely place them in the 'above zero
> boundary' bin.
>
Z[Z==0] = 0.1
That's all you need, it appears.
Eric
-
Eric,
thanks for all of the help.
Im going to do what you suggested; find a way to add a very small amount to my
'0.0' values, as this should definitely place them in the 'above zero boundary'
bin.
Thanks again,
P.Romero
> Date: Mon, 16 Mar 2009
Pablo Romero wrote:
> Eric,
> For your reference, Im sending you a link to the python-grads interface files.
Thank you.
I am coming to the conclusion that you were mostly right early on. I
suspect that whether points landing on a contour boundary end up treated
as above or below is not uniquel
Eric,
For your reference, Im sending you a link to the python-grads interface files.
http://downloads.sourceforge.net/opengrads/pygrads-1.1.0.tar.gz
It wont function unless you have grads available, but perhaps it might help to
take a look at how the python code is creating the GrADS masked a
Pablo Romero wrote:
> Eric,
> I've uploaded the file.
> The only thing I should mention is that my 'X' and 'Y' arrays are not masked
> arrays, they are 2d arrays that I created using the meshgrid function.
>
> I ended up doing this
>
> Xnp=np.array(X)
> Ynp=np.array(Y)
>
> which probably wa
Eric,
I've uploaded the file.
The only thing I should mention is that my 'X' and 'Y' arrays are not masked
arrays, they are 2d arrays that I created using the meshgrid function.
I ended up doing this
Xnp=np.array(X)
Ynp=np.array(Y)
which probably wasnt necessary..
Let me know if the file
Pablo Romero wrote:
> Eric,
> Its Still not working, still getting white/empty areas where Z=0.0
> Here's my ipython output:
>
> [6] ga-> Znp=np.array(Z.filled())
> [7] ga-> Znp
> Out[7]:
> array([[ 0., 0., 0., ..., 0.,
> 0., 0.]
12 matches
Mail list logo