t;
matplotlib-users-requ...@lists.sourceforge.net> wrote:
> From: dydy2014
> To: matplotlib-users@lists.sourceforge.net
> 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
Just to clarify, do you actually want to be able to "pick" it, so by
selecting in interactively (and probably manually, i.e. with the mouse) or
are you only interested in displaying the "data underneath the line".
The second is straightforward: just plot in a new axes the relevant row of
your 2D d
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.
--
View this message in context:
http://matplotlib.1069221.n5.nabble.co
Based on the example you posted, you need like:
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
ax.contour(data)
ax.axhline(magic_value)
On Mon, Jun 16, 2014 at 1:30 AM, dydy2014 wrote:
> Hello all,
>
> I have contour plot like this and I have problem to pick a particular data
> along