> I think that what you want can be achieved more simply than contouring.
> I've attached a quick example of how I would do this. I'm assuming that
> the data has the same form as pcolormesh, i.e, the z values are measured
> at grid centers but we have coordinate of the edges. This means that we
Am Di 28 Feb 2012 19:23:14 CET schrieb Eric Firing:
> On 02/28/2012 08:08 AM, Andreas H. wrote:
>> Am 28.02.2012 18:56, schrieb Eric Firing:
>>> On 02/28/2012 06:28 AM, Andreas H. wrote:
>>>>>> On Tuesday, February 28, 2012, Andreas H. wrote:
>>>
Am 28.02.2012 18:56, schrieb Eric Firing:
> On 02/28/2012 06:28 AM, Andreas H. wrote:
>>>> On Tuesday, February 28, 2012, Andreas H. wrote:
>>>>
>>>>> Good morning,
>>>>>
>>>>> I'm creating the attached plot using pco
>> On Tuesday, February 28, 2012, Andreas H. wrote:
>>
>>> Good morning,
>>>
>>> I'm creating the attached plot using pcolormesh(). What I would like to
>>> do now is draw contour lines at +/- 2.5%, which follow the grid edges.
>>>
&g
Good morning,
I'm creating the attached plot using pcolormesh(). What I would like to
do now is draw contour lines at +/- 2.5%, which follow the grid edges.
The problem is that when I use contour(), the lines drawn do not follow
the grid edges but seem to be interpolated somehow.
Do you have an
Thanks Jeff!
I really should have looked at the docs more carefully.
>> I suppose pcolor could be modified to fill the masked polygons with the
>> color indicated by cmap.set_bad - I think that's what most people would
>> expect.
Yes, I definitely second this. It would produce more expected resu
Hi,
I'm trying to use pcolor on a masked array. I would like masked elements
to show up in a special color. I have written some code, but it does not
seem to work:
I would appreciate any help :)
Cheers,
Andreas.
---8<---
import matplotlib as mpl
import matplotlib.pyplot as plt
from numpy
>> I would like to use .otf fonts for typesetting text (axes, titles,
>> labels,
>> legends, ...) in matplotlib. Is this possible? If yes, how?
> Yes. Put the font somewhere in your font search path. (Where that
> would be depends on your platform, but for user-local fonts, use
> "~/.fonts" on Li
Hi,
I would like to use .otf fonts for typesetting text (axes, titles, labels,
legends, ...) in matplotlib. Is this possible? If yes, how?
If not directly, perhaps via XeTeX?
Cheers,
Andreas.
--
All the data continuousl