Re: [Matplotlib-users] basemap, transform_scalar question

2009-10-11 Thread Jeff Whitaker
John [H2O] wrote: > Jeff Whitaker wrote: > >> John: I don't have time to look at your code right now, but let me just >> make some general comments about plotting images on maps. If you want >> to use imshow, the data your are plotting must coincide exactly with >> your map plot area. So,

Re: [Matplotlib-users] basemap, transform_scalar question

2009-10-11 Thread Eric Firing
John [H2O] wrote: > > Jeff Whitaker wrote: >> >> John: I don't have time to look at your code right now, but let me just >> make some general comments about plotting images on maps. If you want >> to use imshow, the data your are plotting must coincide exactly with >> your map plot area. So,

Re: [Matplotlib-users] basemap, transform_scalar question

2009-10-11 Thread John [H2O]
Jeff Whitaker wrote: > > > John: I don't have time to look at your code right now, but let me just > make some general comments about plotting images on maps. If you want > to use imshow, the data your are plotting must coincide exactly with > your map plot area. So, for example if you wa

Re: [Matplotlib-users] basemap, transform_scalar question

2009-10-08 Thread Jeff Whitaker
John [H2O] wrote: > Jeff, > > Here's a quick snippet. I've looked at the test.py file provided with the > basemap examples. What I am unclear on are the different ways in which nx > and ny are defined. I would like to have this 'automatically' defined, based > solely on variables from my input obje

Re: [Matplotlib-users] basemap, transform_scalar question

2009-10-07 Thread John [H2O]
Jeff, Here's a quick snippet. I've looked at the test.py file provided with the basemap examples. What I am unclear on are the different ways in which nx and ny are defined. I would like to have this 'automatically' defined, based solely on variables from my input object.. say for example a netcd

Re: [Matplotlib-users] basemap, transform_scalar question

2009-09-29 Thread Jeff Whitaker
John [H2O] wrote: > I'm trying to 'automate' a few components within basemap. I have a pretty > complicated, and assuredly poorly written, set of functions that allow me to > 'dynamically' plot a grid of data (lon,lat). > > Here is one section where I try to deal with transforming the data based on

[Matplotlib-users] basemap, transform_scalar question

2009-09-28 Thread John [H2O]
I'm trying to 'automate' a few components within basemap. I have a pretty complicated, and assuredly poorly written, set of functions that allow me to 'dynamically' plot a grid of data (lon,lat). Here is one section where I try to deal with transforming the data based on the projection. 'data' is