Hello,
I'm trying to take a npstereographic grid of points and reproject it
so that I can save out a file in regular 0.5 degree lat lon grid
coordinates. The description of the grid points in the current
projection is here:
http://nsidc.org/data/docs/daac/nsidc0051_gsfc_seaice.gd.html
I've writte
Thanks for the links and suggestions. Worked fine.
Thx
Ted
On 25 October 2010 03:08, Jae-Joon Lee wrote:
> There are a few ways to show images, where using imshow is one of them.
>
>
> http://matplotlib.sourceforge.net/api/pyplot_api.html?highlight=imshow#matplotlib.pyplot.imshow
>
> Take a lo
On 10/25/10 2:27 AM, John wrote:
> Hello,
>
> I'm trying to take a npstereographic grid of points and reproject it
> so that I can save out a file in regular 0.5 degree lat lon grid
> coordinates. The description of the grid points in the current
> projection is here:
> http://nsidc.org/data/docs
Hi Stan,
Thank you for taking the time to check this for me. I did switch up
to Matplotlib 1.0.0 and Python 2.6, and that solved my problem.
I'm tempted to chalk the whole thing up to having a corrupted
Matplotlib installation, except that it did happen on two different computers.
All the bes
> From: Alan G Isaac [mailto:ais...@american.edu]
> Sent: Friday, October 22, 2010 13:25
>
> On 10/22/2010 12:39 PM, Stan West wrote:
> > markerline.set_zorder(markerline.get_zorder() + 0.1)
>
> Nice idea.
> Thanks,
You're welcome. Now that I look at it again, I suppose that something lik
Hello,
I just noticed that in order to get a 3 row by 4 column grid, I have to
do
import matplotlib.pyplot as plt
from matplotlib.gridspec import GridSpec
def make_ticklabels_invisible(fig):
for i, ax in enumerate(fig.axes):
ax.text(0.5, 0.5, "ax%d" % (i+1), v
On Fri, 2010-10-22 at 13:39 -0500, Ryan May wrote:
> Thanks for that. This actually led me here:
> http://en.wikipedia.org/wiki/Histogram which gives a bunch of
> different ways to estimate the number of bins/binsize. It might be
> worth looking at one of these in general. However, ironically enoug
On Mon, Oct 25, 2010 at 10:45 PM, Nikolaus Rath wrote:
> So I have to instantiate GridSpec with a (rows, column), but when I
> index the grid I have to use (column, row).
>
> Is there any reason for this counterintuitive behaviour?
>
This is not an intended behavior but a bug which affects a grid
On Tue, Oct 26, 2010 at 12:04 AM, Cesar Enrique Garcia Dabo
wrote:
> It works "almost" fine, except for the line
> grid[i].grid(True)
> which doesn't draw the axis grid defined by the ticklabels. When using
> add_subplot instead of Grid it works properly, tough, like this:
>
I believe this i
On 10/25/2010 11:18 AM, Jae-Joon Lee wrote:
> On Mon, Oct 25, 2010 at 10:45 PM, Nikolaus Rath wrote:
>> So I have to instantiate GridSpec with a (rows, column), but when I
>> index the grid I have to use (column, row).
>>
>> Is there any reason for this counterintuitive behaviour?
>>
>
> This is
Dear All,
I am aware that this question has already been asked several times on
the mailing list, see e.g.
http://bit.ly/aPzQTA
However, in the following snippet, nothing I tried has been able to
reduce the amount of white space around the figure (including toying
around with
ax = plt.axes([0
Jeff, thanks for the answer. Unfortunately I have a problem due to the
'polar' nature of the grid, the xin, yin values are not increasing. I
tried both passing lat and lon grids or flattened vectors of the
original data, but neither works. You can see my method here, which is
a new method of my NSI
Apologies, I see I didn't need to change the xin, yin variables in the
interp function. I have it working now, but I still don't quite have
the plotting correct... be back with a report. -john
On Mon, Oct 25, 2010 at 9:27 PM, John wrote:
> Jeff, thanks for the answer. Unfortunately I have a probl
Closer, but still not quite right... not sure what I'm doing wrong??
http://picasaweb.google.com/lh/photo/6Dnylo0BcjX0A-wdmczmNg?feat=directlink
Any ideas??
-john
On Mon, Oct 25, 2010 at 9:53 PM, John wrote:
> Apologies, I see I didn't need to change the xin, yin variables in the
> interp func
On 10/25/10 2:13 PM, John wrote:
> Closer, but still not quite right... not sure what I'm doing wrong??
John: Since I don't know what the plot should look like, it's hard to
say. Perhaps the data is just transposed? Let me back up a bit and
ask why you want to interpolate to a lat/lon grid
Jeff,
Thank you again for the quick response.
Unfortunately, I need to output the data onto a regular lat/lon 0.5
degree grid for including in another project (this is the format we
need, so I'll write the data out to a file).
For plotting, however, I would be interested in seeing the 'easy' way
On 10/25/10 2:28 PM, John wrote:
> Jeff,
>
> Thank you again for the quick response.
>
> Unfortunately, I need to output the data onto a regular lat/lon 0.5
> degree grid for including in another project (this is the format we
> need, so I'll write the data out to a file).
>
> For plotting, howev
Oops, yes! The spirit is willing but the (my) brain is weak.
On Mon, Oct 25, 2010 at 5:13 PM, John Hunter wrote:
> On Mon, Oct 25, 2010 at 4:09 PM, Daniel Hyams wrote:
> > Right, I was referring specifically to MATPLOTLIBDIR ;)
> >
> > I was just pleased as punch to find it in the source code,
On Mon, Oct 25, 2010 at 11:56 AM, Lorenzo Isella
wrote:
> Dear All,
> I am aware that this question has already been asked several times on
> the mailing list, see e.g.
>
> http://bit.ly/aPzQTA
>
> However, in the following snippet, nothing I tried has been able to
> reduce the amount of white spa
On 10/25/2010 11:36 PM, Benjamin Root wrote:
> , bbox_inches='tight'
Hi,
And thanks for your suggestion. The improvement (if any) if
unfortunately rather modest.
I'd like to hear about the other "tricks".
Cheers
Lorenzo
---
On Oct 25, 2010, at 12:56 PM, Lorenzo Isella wrote:
> Dear All,
> I am aware that this question has already been asked several times on
> the mailing list, see e.g.
>
> http://bit.ly/aPzQTA
>
> However, in the following snippet, nothing I tried has been able to
> reduce the amount of white sp
I believe I've found a problem with the following cookbook example:
http://www.scipy.org/Cookbook/Matplotlib/Animations?action=show#head-3d51654b8306b1585664e7fe060a60fc76e5aa08.
Specifically, the example calls canvas.copy_from_bbox() before the
initial draw(). This doesn't throw an error, but wi
22 matches
Mail list logo