|
From: Slavin, J. <js...@cf...> - 2014-06-19 12:37:48
|
So do you want to find the particular row or column to plot interactively? For that you should look at "Event handling and picking" in the matplotlib docs (http://matplotlib.org/users/event_handling.html). It shows there how to return the values of the location of mouse click events. Once you have either the x or y value then you could find the values in your array that correspond to that and plot them. Or is how to do the latter your question? For more involved data exploration, you might want to look into glue ( www.glueviz.org). Jon On Thu, Jun 19, 2014 at 4:27 AM, < mat...@li...> wrote: > From: dydy2014 <dya...@gm...> > To: mat...@li... > Cc: > Date: Wed, 18 Jun 2014 17:56:21 -0700 (PDT) > Subject: Re: [Matplotlib-users] Pick a particular data from array > Thank you Paul for your comment, but what I need not just put a line in the > contour. > I want to pick value along the red line, so which the data that placed on > the red line. > Then I will plot it in the other type of plot. > -- ________________________________________________________ Jonathan D. Slavin Harvard-Smithsonian CfA js...@cf... 60 Garden Street, MS 83 phone: (617) 496-7981 Cambridge, MA 02138-1516 fax: (617) 496-7577 USA ________________________________________________________ |