Re: [Matplotlib-users] How to remove the white space arround the generated graph?

2006-06-30 Thread Petar Marić
Hi John, > You should then try the svn version of mpl or try the alpha trick I > suggested. You mean like this? # CODE from pylab import * x = range(10) fig = figure(1, facecolor='r') fig.frameon = False fig.figurePatch.set_alpha(0.0) scatter(x, x) savefig('figure.png') # /CODE I've got the sam

Re: [Matplotlib-users] How to remove the white space arround the generated graph?

2006-06-30 Thread John Hunter
> "Petar" == Petar Mari§ <[EMAIL PROTECTED]> writes: Petar> Hi John, Unfortunately, that also didn't do what I wanted. Petar> I tried a different backend today - Cairo, and got the same Petar> results You should then try the svn version of mpl or try the alpha trick I suggested.

Re: [Matplotlib-users] last version that worked well with py2exe?

2006-06-30 Thread Alan G Isaac
On Fri, 30 Jun 2006, James Carroll apparently wrote: > I gave PyInstaller a try, and it seemed to be smart and easy at first, and > created a single exe that was just 8MB. The problem is that > when I run the exe, It gives me the following errors before it > crashes: > - Fatal Error: MSVCR7

Re: [Matplotlib-users] last version that worked well with py2exe?

2006-06-30 Thread James Carroll
> Understood. But do not overlook that PyInstaller is really > the current life of Gordon McMillan's Python Installer, > so it really is not a new kid on the block. I gave PyInstaller a try, and it seemed to be smart and easy at first, and created a single exe that was just 8MB. The problem is t

Re: [Matplotlib-users] plot points with RGB color

2006-06-30 Thread John Hunter
> "Zhang" == Zhang Le <[EMAIL PROTECTED]> writes: Zhang> Hi, I'm trying to plot a set of points using given RGB Zhang> tuples as color: plot([0.5],[0.5], '.', markersize=50, Zhang> color=(0.5,0.5,0.5)) there is no error but the point I got Zhang> is still blue. Any tips? mar

[Matplotlib-users] plot points with RGB color

2006-06-30 Thread Zhang Le
Hi, I'm trying to plot a set of points using given RGB tuples as color: plot([0.5],[0.5], '.', markersize=50, color=(0.5,0.5,0.5)) there is no error but the point I got is still blue. Any tips? Zhang Le Using Tomcat but need to do more? Need to support web services, security? Get stuff do

Re: [Matplotlib-users] How to remove the white space arround the generated graph?

2006-06-30 Thread John Hunter
> "Petar" == Petar Mari§ <[EMAIL PROTECTED]> writes: Petar> Hi John, >> Does fig = figure(frameon=False) do what you want? Petar> Apperently not: from pylab import * x = range(10) figure(1, frameon=False, facecolor='r') scatter(x, x) show() I found the problem i

Re: [Matplotlib-users] How to remove the white space arround the generated graph?

2006-06-30 Thread Petar Marić
Hi John, Does fig = figure(frameon=False) do what you want? Apperently not: from pylab import * x = range(10) figure(1, frameon=False, facecolor='r') scatter(x, x) show() Produces the picture given in attachment. I just want to get rid of the damn red area :) So my graph will takeup the w

Re: [Matplotlib-users] Possible bug

2006-06-30 Thread John Hunter
> "Nils" == Nils Wagner <[EMAIL PROTECTED]> writes: >> Thanks for the report Nils, fixed in svn. OK, and this time I actually tested :-) JDH Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job

Re: [Matplotlib-users] Possible bug

2006-06-30 Thread Nils Wagner
John Hunter wrote: >> "Nils" == Nils Wagner <[EMAIL PROTECTED]> writes: >> > > Nils> I am using the latest svn version of mpl Traceback (most > Nils> recent call last): File > Nils> "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py", > Nils> line 156

Re: [Matplotlib-users] How to remove the white space arround the generated graph?

2006-06-30 Thread John Hunter
> "Petar" == Petar Mari§ <[EMAIL PROTECTED]> writes: Petar> Hi all, First of all, thank you for this awesome library, Petar> you mad my life heck of a lot easier - no really :) Petar> I'm interested into how to remove the whitespace which is Petar> around the figure? You can r

[Matplotlib-users] Polar axis and fill() function?

2006-06-30 Thread marek
I am a new user of matplotlib and am trying to create a "radar" or "star" plot. I didn't see a convenience function in matplotlib so I am trying to create it using polar plots. It would seem straight forward if the fill() function could be used with polar axes, but my attempts thus far have not wo

Re: [Matplotlib-users] Possible bug

2006-06-30 Thread John Hunter
> "Nils" == Nils Wagner <[EMAIL PROTECTED]> writes: Nils> I am using the latest svn version of mpl Traceback (most Nils> recent call last): File Nils> "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py", Nils> line 1562, in zoom widgets.release(self) AttributeError:

[Matplotlib-users] Vibrational modes of l-shaped membranes

2006-06-30 Thread Nils Wagner
Hi all, I am going to visualize mode shapes of L-shaped membranes using contour. So far, I have two lists xin, yin containing the coordinates of interior points (see bottom of mode.png) . A third list will contain the corresponding displacements u(xin,yin). >>> xin [-0.9, -0.77

[Matplotlib-users] skencil backend

2006-06-30 Thread Christian Kristukat
Hi, I'd love to have a backend which outputs skencil .sk files with text rendered through the skLaTeX plugin. For those who don't know it, skencil is a vector drawing program written in python. Its skLaTeX plugin allows to include LaTeX text in the drawing. Right now I'm creating eps files with mat

Re: [Matplotlib-users] color bar with non-linear spacing

2006-06-30 Thread John Pye
I think this may be what you need http://matplotlib.sourceforge.net/matplotlib.colors.html#LinearSegmentedColormap As I recall there are some examples floating around somewhere, perhaps on the wiki... Cheers JP James Boyle wrote: > I am interested in producing a color map and accompanying color

[Matplotlib-users] How to remove the white space arround the generated graph?

2006-06-30 Thread Petar Marić
Hi all, First of all, thank you for this awesome library, you mad my life heck of a lot easier - no really :) I'm interested into how to remove the whitespace which is around the figure? You can really see it when you export your picture via savefig() Example graph: http://svn.petarmaric.com/pla