Re: [Matplotlib-users] Tkinter problems

2009-07-11 Thread John Hunter
2009/2/23 Gregor Skrt : >   1.   Where can I find a good tutorial or set of examples for >      embeding  matplotlib in Tkinter ? >   2. Problem: I created a simple test with Tkinter. First I plot my >      graph on __init__ (it works ok). Then I want to clear graph and >      plot on the same canv

Re: [Matplotlib-users] Tkinter problems

2009-07-11 Thread dspmathguru
Hi, Please change plotnew to: def plotnew(self): #self.f.clf()# clear the figure self.t=arange(0.0,5.0,0.05) self.s1=sin(2*pi*self.t) self.s2=self.s1*-1 self.a.plot(self.t,self.s1,self.t,self.s2)

Re: [Matplotlib-users] Tkinter problems

2009-02-23 Thread Delbert Franz
On Monday 23 February 2009, Gregor Skrt wrote: >1. Where can I find a good tutorial or set of examples for > embeding matplotlib in Tkinter ? >2. Problem: I created a simple test with Tkinter. First I plot my > graph on __init__ (it works ok). Then I want to clear graph and >

[Matplotlib-users] Tkinter problems

2009-02-23 Thread Gregor Skrt
1. Where can I find a good tutorial or set of examples for embeding matplotlib in Tkinter ? 2. Problem: I created a simple test with Tkinter. First I plot my graph on __init__ (it works ok). Then I want to clear graph and plot on the same canvas with different parameters.