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
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)
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
>
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.