Re: [Matplotlib-users] Plotting in West Longitude

2006-07-27 Thread PGM
HI, There are series like that... > I need to plot in West > Longitude, where the left edge of the graph starts at 360 and the right > edge ends at 0. Does anyone know how to do this? Assuming you have a plot (not an image): xlim(360,0) or gca.set_xlim(360,0) HIH, P. --

[Matplotlib-users] plot swaps axes specified with extent

2006-07-27 Thread Stefan van der Walt
Hi all, I have a script that reads in mouse-click coordinates from an image. I noticed that, with image extents specified, the axes flip whenever I plot to them. This snippet demonstrates the behaviour I see: # -- START -- import pylab as P import numpy as N # Generate test pattern x = N.arang

Re: [Matplotlib-users] Weird resizing issue

2006-07-27 Thread Darren Dale
On Monday 24 July 2006 15:12, Jouni K Seppanen wrote: > Tommy Grav <[EMAIL PROTECTED]> writes: > > The window resizes horisontally when the pointer is inside the > > window, although the window behaves erratically as it resizes. > > Moving the pointer to the right will cause the window to grow then

[Matplotlib-users] Pixel placement of text

2006-07-27 Thread Bill Baxter
I want to draw some labels with plot.text() and have them appear a given number of pixels (or mm, or points) to above and to the right of the data points they are describing. Is there some way to specify a screen offset from a point in graph coordinates? Like a method of the axes that converts f

[Matplotlib-users] Centering an image

2006-07-27 Thread Michael Schwager
Hi, I’m trying to print some stuff with a PS backend (python 2.4 with WinXP).  I have a figure, then I save it with savefig.  Right now the figure is centered in the page.  However, if I change the page size (such as when viewing with ghostscript), the figure is no longer centered.  In fact

[Matplotlib-users] Plotting in West Longitude

2006-07-27 Thread Jeff Sadino
Hello All, I am trying to map the surface of TItan for a summer internship project at NASA. I would like to use matplotlib to plot, but I need to plot in West Longitude, where the left edge of the graph starts at 360 and the right edge ends at 0. Does anyone know how to do this? Thanks much,