Hello list,
I have plotted the following curve:
from pylab import *
t = arange(0.0, 2.0, 0.01)
s = sin(2*pi*t)
plot(t, s)
grid(True)
show()
The std matplotlib output gives only zoom, pan and save functions.
I
need to check the distance between two points on the plotted curve
by
clicking on th
Hello,
Given a set of points: (x1, y1), (x2, y2), (x3, y3), (x4, y4),
How do plot a curve y = sinh(x) between (x1, y1) and (x2, y2) and
then
between (x2, y2) and (x3, y3) and so on .?
Thanks in advance,
AMaity.
--
Thanks,
vlines is definitely the better option. By the way, I am using
the
Enthought python distribution for Windows. I could not get the
desired
output from the ipython -pylab shell. But the same code when run
in
SciTe and IDLE gave the desired output.
On Thu, 30 Oct 2008 Michael Droettboo
t;plt.show()
>
>
>However... rather than going through all that, have you
>considered
using vlines? That will save you the trouble of generating all
the
data in that format yourself.
>
>http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pypl
ot.vlines
>
&g
Hello list,
I have generated the following tuples:
(1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2)
((39525.5401, 144.91), (39525.5401, 161.352),
(39874.5, 149.5), (39874.5, 166.142), (40205.0, 150.41),
(40205.0,
167.051999), (40518.4497, 149.360