|
From: Andrew D. <da...@at...> - 2013-07-12 08:24:05
|
As long as you use contour or contourf and your coordinates are 1d you should be able to do this no problem, just like Phil said. However, there is a bug that will prevent you from using pcolormesh or pcolor unfortunately. Andrew On 12 July 2013 08:51, Phil Elson <pel...@gm...> wrote: > The balance of time to install vs time to re-implement a feature is only > something you can decide, but i suspect it is worth your while getting iris > installed (I would say that as an iris developer though). The installation > process is only going to get easier over time, for instance last week we > added a PPA so that with the necessary repos added you would be able to > "apt-get install python-iris" on an Ubuntu machine - for other installation > guides there is a repository of recipes ( > https://github.com/SciTools/installation-recipes ). > > As for achieving this without iris, it is perfectly feasible. You just > need to contourf your data with the longitude as your x coordinate and the > date times as your y coordinate. From memory you might also need to tell > matplotlib that the y coordinate is date/time (I think that is a mpl bug > that ajdawson has recently addressed). Obviously, basemap is not needed as > you are not drawing a longitude/latitude plot but a longitude/time or > latitude/time one. > > HTH, > > Phil > > > On 11 July 2013 19:06, Sudheer Joseph <sud...@ya...> wrote: > >> Thank you Signell, >> I was looking for better looking labels as well as >> a solution with in matplotlib without needing to install additional >> packages. I had some trouble with some libraries while trying to install >> iris. I was wondering if it is possible with in matplotlib with out >> additional installations using the features of basemap package. >> with best regards, >> Sudheer >> >> >> >> *************************************************************** >> Sudheer Joseph >> Indian National Centre for Ocean Information Services >> Ministry of Earth Sciences, Govt. of India >> POST BOX NO: 21, IDA Jeedeemetla P.O. >> Via Pragathi Nagar,Kukatpally, Hyderabad; Pin:5000 55 >> Tel:+91-40-23886047(O),Fax:+91-40-23895011(O), >> Tel:+91-40-23044600(R),Tel:+91-40-9440832534(Mobile) >> E-mail:sjo...@gm...;sud...@ya... >> Web- http://oppamthadathil.tripod.com >> *************************************************************** >> >> >> ----- Original Message ----- >> > From: "Signell, Richard" <rsi...@us...> >> > To: Sudheer Joseph <sud...@ya...> >> > Cc: >> > Sent: Friday, 12 July 2013 12:41 AM >> > Subject: Re: [Matplotlib-users] Hovemuller Diagram >> > >> > I don't think I understand your problem. Are you just trying to get >> > nicer looking tick labels? >> > >> > >> > On Thu, Jul 11, 2013 at 11:03 AM, Sudheer Joseph >> > <sud...@ya...> wrote: >> >> Thanks Signell, >> >> I had seen it but it is not the correct type >> with >> > Longitude axis, it is having just numbers on x axis I expect axis like >> the ones >> > we get from basemap package. >> >> with best regards, >> >> sudheer >> >> >> >> >> >> >> >> *************************************************************** >> >> Sudheer Joseph >> >> Indian National Centre for Ocean Information Services >> >> Ministry of Earth Sciences, Govt. of India >> >> POST BOX NO: 21, IDA Jeedeemetla P.O. >> >> Via Pragathi Nagar,Kukatpally, Hyderabad; Pin:5000 55 >> >> Tel:+91-40-23886047(O),Fax:+91-40-23895011(O), >> >> Tel:+91-40-23044600(R),Tel:+91-40-9440832534(Mobile) >> >> E-mail:sjo...@gm...;sud...@ya... >> >> Web- http://oppamthadathil.tripod.com >> >> *************************************************************** >> >> >> >> >> >> ----- Original Message ----- >> >>> From: "Signell, Richard" <rsi...@us...> >> >>> To: Sudheer Joseph <sud...@ya...> >> >>> Cc: >> >>> Sent: Thursday, 11 July 2013 7:20 PM >> >>> Subject: Re: [Matplotlib-users] Hovemuller Diagram >> >>> >> >>> >> http://scitools.org.uk/iris/docs/v1.0/examples/graphics/hovmoller.html >> >>> >> >>> On Thu, Jul 11, 2013 at 5:40 AM, Sudheer Joseph >> >>> <sud...@ya...> wrote: >> >>>> Dear All, >> >>>> Is there a straight forward way to get >> >>>> Hovemuller diagram or longitude/latitude vs time plot using >> > matplotlib. >> >>>> If possible please send me some examples if any one know it >> > existing in >> >>>> web >> >>>> >> >>>> with best regards, >> >>>> Sudheer >> >>>> >> >>>> *************************************************************** >> >>>> Sudheer Joseph >> >>>> Indian National Centre for Ocean Information Services >> >>>> Ministry of Earth Sciences, Govt. of India >> >>>> POST BOX NO: 21, IDA Jeedeemetla P.O. >> >>>> Via Pragathi Nagar,Kukatpally, Hyderabad; Pin:5000 55 >> >>>> Tel:+91-40-23886047(O),Fax:+91-40-23895011(O), >> >>>> Tel:+91-40-23044600(R),Tel:+91-40-9440832534(Mobile) >> >>>> E-mail:sjo...@gm...;sud...@ya... >> >>>> Web- http://oppamthadathil.tripod.com >> >>>> *************************************************************** >> >>>> >> >>>> >> >>> >> > >> ------------------------------------------------------------------------------ >> >>>> See everything from the browser to the database with AppDynamics >> >>>> Get end-to-end visibility with application monitoring from >> > AppDynamics >> >>>> Isolate bottlenecks and diagnose root cause in seconds. >> >>>> Start your free trial of AppDynamics Pro today! >> >>>> >> >>> >> > >> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk >> >>>> _______________________________________________ >> >>>> Matplotlib-users mailing list >> >>>> Mat...@li... >> >>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >>> >> >>> >> >>> >> >>> -- >> >>> Dr. Richard P. Signell (508) 457-2229 >> >>> USGS, 384 Woods Hole Rd. >> >>> Woods Hole, MA 02543-1598 >> >>> >> > >> > >> > >> > -- >> > Dr. Richard P. Signell (508) 457-2229 >> > USGS, 384 Woods Hole Rd. >> > Woods Hole, MA 02543-1598 >> > >> >> >> ------------------------------------------------------------------------------ >> See everything from the browser to the database with AppDynamics >> Get end-to-end visibility with application monitoring from AppDynamics >> Isolate bottlenecks and diagnose root cause in seconds. >> Start your free trial of AppDynamics Pro today! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- Dr Andrew Dawson Atmospheric, Oceanic & Planetary Physics Clarendon Laboratory Parks Road Oxford OX1 3PU, UK Tel: +44 (0)1865 282438 Email: da...@at... Web Site: http://www2.physics.ox.ac.uk/contacts/people/dawson |