Hi All,
i am using,
def draw(self,min,max):
if not hasattr(self, 'subplot1'):
self.subplot1 = self.figure.add_subplot(211)
self.subplot1.grid(True)
self.subplot2 = self.figure.add_subplot(212)
self.subplot2.grid(True)
a,b,c,d,e,f,g = self.compute(min)
ymin_efg = numpy.real(numpy.amin((e,f,g)))
ymax_efg = numpy.real(numpy.amax((e,f,g)))
self.plots2 += self.subplot1.plot(d,a, color='red')
self.plots2 += self.subplot1.plot(d,a+1, color='green')
self.plots2 += self.subplot1.plot(d,c+2, color='blue')
self.plots += self.subplot2.plot(d,numpy.abs(e),color='red')
self.plots += self.subplot2.plot(d,numpy.abs(f),color='green')
self.plots += self.subplot2.plot(d,numpy.abs(g),color='blue')
self.subplot1.legend((self.plots[0],self.plots[1],self.plots[2]),('Peak1','Peak2','Peak3'))
self.subplot2.legend((self.plots[0],self.plots[1],self.plots[2]),
('abs(Wert von Peak1)','abs(Wert von Peak2)',
'abs(Wert von Peak3)'))
self.subplot1.set_ylim([-0.5, 3.5])
self.subplot2.set_ylim([ymin_efg*1.2, ymax_efg*1.2])
to make some Plots, but my first Point lies on the beginning
of my Plot. How to make some spaces ?
Regards Markus
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users