Re: [Matplotlib-users] Clear Figure

2008-10-05 Thread rocha
Hi Jae-Joon Lee, I tried it but unfortunately it didn't work too. After the Figure is cleared I cannot plot again. I've attached the whole code that I'm trying to do this, I hope it could help a little bit. I modified the original example just to test this feature. Thanks! Bernardo M.

Re: [Matplotlib-users] Problem in afm.py with 0.98.3

2008-10-05 Thread Jouni K . Seppänen
[EMAIL PROTECTED] (Berthold Höllmann) writes: (Pdb) print self._header {'Notice': 'Copyright (c) 1999 Ministry of Education, Taipei, Taiwan. All Rights Reserved.', 'Ascender': 880.0, 'FontBBox': [-123, -250, 1000, 880], 'Weight': 'Regular', 'Descender': -250.0, 'CharacterSet':

[Matplotlib-users] Problems plotting/closing figures within a thread

2008-10-05 Thread jcarnes
I am writing a GUI application in wxPython and using MPL that plots figures, saves them to image files, and then closes them all from within a thread to keep the GUI responsive. Using the Enthought 2.3 install I would sporatically have crashes that were hard to reproduce, but now that I've

Re: [Matplotlib-users] Clear Figure

2008-10-05 Thread John Hunter
On Sun, Oct 5, 2008 at 3:50 AM, rocha [EMAIL PROTECTED] wrote: self.canvas.figure.clf() self.canvas.draw() self.canvas.axes.plot([1.,2.,4.]) and nothing is plotted. The Figure is totally gray. I tried to do the same thing in embedding_in_qt4.py example, modifying some parts, but it didn't

[Matplotlib-users] Installation on Fedora2 etc.

2008-10-05 Thread Venkat Ramanan
Hi all, I'm trying to install the latest matplotlib on a couple of machines. They both run the same OS (an old custom version between Fedora 2 and 3) but the rest of the setup are rather different. For the curious, one is an MR scanner and the other is a developmental machine for compiling

Re: [Matplotlib-users] vertical padding in legend

2008-10-05 Thread Jae-Joon Lee
Done, except that it just raises a warning, and still works with the old kwarg. The new kwarg is borderpad; it is used if pad==0, which is the new rc default. I set the default borderpad=0.5. There is still too much other positioning in legend that is based on axes units. I briefly tried

Re: [Matplotlib-users] Problems plotting/closing figures within a thread

2008-10-05 Thread Vincent Favre-Nicolin
On dimanche 05 octobre 2008, jcarnes wrote: I am writing a GUI application in wxPython and using MPL that plots figures, saves them to image files, and then closes them all from within a thread to keep the GUI responsive. Normally only the main thread should alter the graphics - you'll have

[Matplotlib-users] Colorbar values

2008-10-05 Thread Angus McMorland
Hi all, I'm trying to plot a colour bar for a scatter plot, and set the maximum value of the plot to something arbitrary. At the moment it always comes up as 255. How can I change this? ax = plt.gca() pts = ax.scatter(coords[:,0], coords[:,1], c=np.linspace(0,1,n_pts), s=16,

[Matplotlib-users] luminocity plot on hammer projection

2008-10-05 Thread dasratsel
Hi, I've done some poking an I can't find a way to use imshow() to plot a luminosity map on a hammer projection. (looking to generate a plot like http://en.wikipedia.org/wiki/Image:WMAP_2008.png). Just setting the projection in a call to subplot gives some axes and an off-center retangular image

Re: [Matplotlib-users] luminocity plot on hammer projection

2008-10-05 Thread Eric Firing
dasratsel wrote: Hi, I've done some poking an I can't find a way to use imshow() to plot a luminosity map on a hammer projection. (looking to generate a plot like http://en.wikipedia.org/wiki/Image:WMAP_2008.png). Just setting the projection in a call to subplot gives some axes and an