Re: [Matplotlib-users] Transforms

2008-03-17 Thread Rich Fought
Eric Firing wrote: > > The transforms can be modified at drawing time, so you need to get the > pixel locations after the plot has been drawn. Are you doing this? Eric, Thank you! I put the transforms after savefig() and it works like a champ now. Rich -

Re: [Matplotlib-users] Transforms

2008-03-17 Thread Eric Firing
Rich, The transforms can be modified at drawing time, so you need to get the pixel locations after the plot has been drawn. Are you doing this? Eric Rich Fought wrote: > Rich Fought wrote: >> I'm plotting some grid data using pcolor, and trying to get canvas pixel >> locations of data points

Re: [Matplotlib-users] Transforms

2008-03-17 Thread Rich Fought
Rich Fought wrote: > I'm plotting some grid data using pcolor, and trying to get canvas pixel > locations of data points using the > > ax.transData.xy_tup() > > method. I am saving these figures to PNG files using the default Agg > backend. When I open these images up in Gimp and check the pixe

Re: [Matplotlib-users] Transforms examples

2008-03-07 Thread Michael Droettboom
Am I correct that you would like to add new kinds of plots to matplotlib that transform the raw data in some new way? Though transforms are involved, at the higher level you see this referred to as "projections" a lot in the mpl code. There are a number of approaches you could take, all of whi

Re: [Matplotlib-users] Transforms examples

2008-03-07 Thread Michael Droettboom
Can you be a bit more specific about what you're trying to do? (Are you working with the latest SVN trunk, or the latest release 0.91.x? The two are considerably different wrt to the transforms framework(s)). Cheers, Mike Chloe Lewis wrote: > Any current transforms examples? The transforms do