From: Jan R. G. <jr...@gm...> - 2005-03-31 07:32:26
|
i'd just like to ask how to make a simple graph of two lists??? i've seen this in the tutorials... a = self.fig.add_subplot(111) t = numpy.arange(0.0,3.0,0.01) s = numpy.sin(2*numpy.pi*t) c = numpy.cos(2*numpy.pi*t) a.plot(t,s) a.plot(t,c) ============= so if i am to plot two lists say listY[] and listX[], i should do this: a.plot(listY, listX) ============= please, any help will be greatly appreciated! |