Sorry, in below steps, the converting lat lon to map projection coordiate is not working unless I do meshgrid. If I do meshgrid then the scatter 3rd axis get plotted at each grid which is not expected
the figure after In [16]: do not result if we follow the steps m = Basemap(projection='robin',lon_0=0,resolution='c') x, y = m(df_data['lonm'][0:50], df_data['latm'][0:50]) -------------------------------------------- On Wed, 17/12/14, Benjamin Root <[email protected]> wrote: Subject: Re: [Matplotlib-users] modification to m.scatter To: "Sudheer Joseph" <[email protected]> Cc: "Matplotlib Users" <[email protected]> Date: Wednesday, 17 December, 2014, 1:29 AM There are lots of code examples on that page. You have yet to provide a sscce. Nor have you posted what happens when you run your sscce. At the very leat, post the traceback or the bad image that differs from what you expect. Ben Root On Dec 16, 2014 7:59 PM, "Sudheer Joseph" <[email protected]> wrote: Thank you, Ifact I was referring to the example given on the page. http://earthpy.org/earthpy-basemap-amazon.html Becasue it has reference to the data to be downloaed, I thought it is better to send the link rather than sending the code which need data. With best regards, Sudheer -------------------------------------------- On Tue, 16/12/14, Benjamin Root <[email protected]> wrote: Subject: Re: [Matplotlib-users] modification to m.scatter To: "Sudheer Joseph" <[email protected]> Cc: "Matplotlib Users" <[email protected]> Date: Tuesday, 16 December, 2014, 2:48 PM Can you please include an SSCCE? http://sscce.org/ On Tue, Dec 16, 2014 at 12:43 AM, Sudheer Joseph <[email protected]> wrote:Dear Developers/users, I updated matplot lib to 1.4.2 and below example appears to be not working for m.scatter. May I know what change is implimented ?. m.scatter plots the river discharge in gridded format if the x,y=meshgrid(lon,lat) is used else it do not plot over map. http://earthpy.org/earthpy-basemap-amazon.html *************************************************************** 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:[email protected];[email protected] Web- http://oppamthadathil.tripod.com *************************************************************** ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users