Re: [matplotlib-devel] pylib dynamic plot.

2008-02-02 Thread hjc520070
Yeah! The code helps me a lot. Thank you! Cong from China -- View this message in context: http://www.nabble.com/pylib-dynamic-plot.-tp13907020p15249839.html Sent from the matplotlib - devel mailing list archive at Nabble.com. -

[matplotlib-devel] How to show matplotlib.image ?

2007-11-30 Thread hjc520070
The following run well . But I just want to make the image, with the x and y as axis and z as the image value ,show on the figure. In the pylab , we can just give a command "imshow" ,But here , I fail to do it , I have try ax.imshow() again and again ,but fail. Can sb give me some advice . Thank y

Re: [matplotlib-devel] matplotlib.image.AxesImage can't work.

2007-11-30 Thread hjc520070
Thank u for your help. I did it as your reply. But some questions appear again . Can you give me some more advice , your help will be appreciated. Code are as following: You know when I do "self.ax.images.append(self.im)" in pylab . It do properly , But ,it fail here. Thank you! # -*- coding:

[matplotlib-devel] matplotlib.image.AxesImage can't work.

2007-11-29 Thread hjc520070
I just want to show a matplotlib.image.AxesImage on a figure. But It can't work properly. Can somebody help me? The code are following: when I run it , It just show a white figure. But I Set it cm.Greens .It doesn't work . Why? # -*- coding:gb2312 -*- import matplotlib matplotlib.use("WXAgg")

[matplotlib-devel] pylib dynamic plot.

2007-11-24 Thread hjc520070
I just want to a dynamic plot with a line show in a plot. The line changes every second when it gets the different data(xdata(),ydata()) from list[i]. list[1]=([1,2],[3,5]) list[2]=([1,2],[3,5],[5,4]) list[3]=([1,2],[3,5],[5,4],[7,6]) list[4]=([1,2],[3,5],[5,4],[7,6],[9,7]).. for example, when