Re: [Matplotlib-users] depth longitude plot

2013-03-04 Thread Sudheer Joseph
Thanks to all Matplotlib experts for extending help,  With the suggestions I could make the script work and I am close to the target I had in mind,  Below script produces as depth longitude contou-filled plot. However I have below concerns, 1) There is a wide gap between label and the contours ie

Re: [Matplotlib-users] depth longitude plot

2013-03-04 Thread Jody Klymak
Hi Sudheer, You want contourf. http://matplotlib.org/examples/pylab_examples/contour_image.html Cheers, Jody On Mar 4, 2013, at 9:04 AM, Sudheer Joseph wrote: > Hi Benamin, > I was looking for a plot similar to the attached one named ferret.gif. But > from matplot lib I get flat fill and

Re: [Matplotlib-users] View datetime corresponding to x coordinate of cursor

2013-03-04 Thread Paul Hobson
On Mon, Mar 4, 2013 at 11:23 AM, William Furnass wrote: > Several backends will show you the x and y float values that > correspond to the current cursor position in a plot() but are there > backends that show the _datetime_ corresponding to the x position if > the plotted data is a time series (e

[Matplotlib-users] View datetime corresponding to x coordinate of cursor

2013-03-04 Thread William Furnass
Several backends will show you the x and y float values that correspond to the current cursor position in a plot() but are there backends that show the _datetime_ corresponding to the x position if the plotted data is a time series (e.g. a pandas.Series object with a DatetimeIndex)? Regards, Will

Re: [Matplotlib-users] depth longitude plot

2013-03-04 Thread Sudheer Joseph
Thank you,                        I just posted this question in numpy lists thinking that it is possible after regriding the data to new axes.  Thanks for the help. with best regards, Sudheer   *** Sudheer Joseph Indian National Centre

Re: [Matplotlib-users] depth longitude plot

2013-03-04 Thread Benjamin Root
On Sat, Mar 2, 2013 at 6:35 AM, Sudheer Joseph wrote: > Hi Phil, > > Though iris looked to be promising it needed many other libraries, so I > chose the below suggestion. But is there a way to overlay contours on this > ? also is it possible to specify the levels? > In [23]: plt.pcolormesh?? did n