[Matplotlib-users] How to use pcolormesh with two masked arrays

2011-02-01 Thread Jeremy Conlin
I have two arrays and I want to plot the ratio of A/B when A=B or B/A when AB. I can create numpy masked arrays to find the result in these two instances, but I'm having trouble plotting them. Below I have a minimal example. I get a plot, but only from the second time I issue the pcolormesh

Re: [Matplotlib-users] How to use pcolormesh with two masked arrays

2011-02-01 Thread Benjamin Root
On Tue, Feb 1, 2011 at 11:58 AM, Jeremy Conlin jlcon...@gmail.com wrote: I have two arrays and I want to plot the ratio of A/B when A=B or B/A when AB. I can create numpy masked arrays to find the result in these two instances, but I'm having trouble plotting them. Below I have a minimal

Re: [Matplotlib-users] How to use pcolormesh with two masked arrays

2011-02-01 Thread Benjamin Root
On Tue, Feb 1, 2011 at 1:48 PM, Jeremy Conlin jlcon...@gmail.com wrote: On Tue, Feb 1, 2011 at 11:22 AM, Benjamin Root ben.r...@ou.edu wrote: On Tue, Feb 1, 2011 at 11:58 AM, Jeremy Conlin jlcon...@gmail.com wrote: I have two arrays and I want to plot the ratio of A/B when A=B or B/A

Re: [Matplotlib-users] How to use pcolormesh with two masked arrays

2011-02-01 Thread Jeremy Conlin
On Tue, Feb 1, 2011 at 1:11 PM, Benjamin Root ben.r...@ou.edu wrote: On Tue, Feb 1, 2011 at 1:48 PM, Jeremy Conlin jlcon...@gmail.com wrote: On Tue, Feb 1, 2011 at 11:22 AM, Benjamin Root ben.r...@ou.edu wrote: On Tue, Feb 1, 2011 at 11:58 AM, Jeremy Conlin jlcon...@gmail.com wrote: