Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Friedrich Romstedt
2010/2/26 Gael Varoquaux gael.varoqu...@normalesup.org: What Eric was most probably talking about is the newer versions of Mayavi, that we tend to call 'mayavi2', even though we are now up to version 3, in particular the mlab interface:

[Matplotlib-users] setting WM_CLASS of matplotlib figure windows

2010-02-26 Thread Ethan Coon
Hi all, I'm using matplotlib-0.99.1 (with backend Qt4, I don't have Tk backends installed to compare there) on a netbook with Ubuntu netbook remix, which includes maximus, a window manager which maximizes screen usage on little screens. It chooses to maximize/not maximize new windows based upon

[Matplotlib-users] root-mpl functions

2010-02-26 Thread Sebastien Binet
hi Jeff, I was wondering if I could reap out your little root2matplot script. I am planning to release a few helper functions as part of a tutorial I'll be giving here at Orsay (how to use python/numpy/ as an analysis foundation in Atlas), and it seems it would be quite interesting to help

[Matplotlib-users] Need help with a local install of matplotlib under Linux

2010-02-26 Thread LB
Hi, I would like to make a local install of matplotlib under Linux, but I've got 2 problems : 1) I didn't find how to setup the build to use the PGI C compiler. I tried python setup buil --help-compiler but there seems to be no preconfigured options for this compiler, and the default doesn't

Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Reinier Heeres
Dear all, One of the great advantages of the current mplot3d design is that it produces complete vector based graphics with the same look-and-feel as your 2d plots. Integration with OpenGL will certainly change this, as the rendering will always give you (as far as I know) a bitmap. I think this

Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Alan G Isaac
On 2/26/2010 3:04 AM, Friedrich Romstedt wrote: I need a physical rendering engine with light sources and reflectance/transmittance simulation http://en.wikipedia.org/wiki/POV-Ray ? Alan Isaac -- Download Intel#174;

Re: [Matplotlib-users] Need help with a local install of matplotlib under Linux

2010-02-26 Thread Michael Droettboom
LB wrote: Hi, I would like to make a local install of matplotlib under Linux, but I've got 2 problems : 1) I didn't find how to setup the build to use the PGI C compiler. I tried python setup buil --help-compiler but there seems to be no preconfigured options for this compiler, and the

[Matplotlib-users] Pixel Offset Example Not Working

2010-02-26 Thread mikey
Hi there, Just wondering if anyone knows how to do a pixel offset in matplotlib? I've tried running the example in http://www.scipy.org/Cookbook/Matplotlib/Transformations#line-58 but it appears to have been trashed by changes to the api. The functions in the no-offset_copy function version

Re: [Matplotlib-users] using the symbol font in TeX plots

2010-02-26 Thread Michael Droettboom
Thanks for the reminder. Sorry this fell through the cracks. The reason this worked for me and not for you is that I had set (and later forgotten) font.sans-serif to the following: font.sans-serif : DejaVu Sans, Bitstream Vera Sans, Lucida Grande, Verdana, Geneva, Lucid, Arial,

Re: [Matplotlib-users] Pixel Offset Example Not Working

2010-02-26 Thread Michael Droettboom
offset_copy is still available, but unfortunately doesn't work with the cookbook example because of a bug that was inadvertently introduced into matplotlib. The bug is that offset_copy should have been defined as: def offset_copy(trans, fig=None, x=0.0, y=0.0, units='inches'): instead of:

Re: [Matplotlib-users] Pixel Offset Example Not Working

2010-02-26 Thread John Hunter
On Fri, Feb 26, 2010 at 9:47 AM, mikey abc.mi...@googlemail.com wrote: Hi there, Just wondering if anyone knows how to do a pixel offset in matplotlib? I've tried running the example in http://www.scipy.org/Cookbook/Matplotlib/Transformations#line-58 but There is an official transformations

Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Jakub Nowacki
Dear all, I don't know if creating full blown 3d library makes much sense. I think Reinier is right here that the current mplot3d creates quite satisfactory outcome with matplotlib look-and-feel we all like. In general, there are 3d libraries/packages out there (VTK, Mayavi2 etc.), which do

Re: [Matplotlib-users] Column graph with variable width

2010-02-26 Thread Wai Yip Tung
I managed to generated the chart I want by twisting the hist() function. I chart and source code can be found here: http://tungwaiyip.info/blog/2010/02/26/visualization_using_variable_width_bar_chart If you have any comment on my method it will be greatly appriciated. Wai Yip I want to

Re: [Matplotlib-users] using the symbol font in TeX plots

2010-02-26 Thread Gökhan Sever
Thanks Mike. The Greek symbols become visible when I make the changes as you suggested. DejaVu Sans has been installed in my system (Fedora 12). We might put a note on the documentation stating to get wider Unicode coverage people could install additional fonts --DejaVu Sans being one of them

Re: [Matplotlib-users] using the symbol font in TeX plots

2010-02-26 Thread Michael Droettboom
SVN trunk has support for mathtext as symbol markers -- plot(range(10), linestyle='None', marker=r'$\clubsuit$') We could support arbitrary (non-math) text, too, fairly easily. We just need to invent a syntax for it. Mike Gökhan Sever wrote: Thanks Mike. The Greek symbols become visible

Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Ben Axelrod
I also agree with Reinier. I want my 3d plots to look as close as possible to my 2d plots. Because mplot3d uses so much of the same matplotlib core, this is trivial. As Friedrich mentioned, the mplot3d code is actually pretty small. To me, that is a great feature. I found the mplot3d code

Re: [Matplotlib-users] using the symbol font in TeX plots

2010-02-26 Thread Gökhan Sever
Thanks again. I didn't know it was complete :) For the second idea you mean something as generic as plotting such markers? plt.plot(range(10), linestyle='None', marker=u'※ ') On Fri, Feb 26, 2010 at 2:56 PM, Michael Droettboom md...@stsci.edu wrote: SVN trunk has support for mathtext as

Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Friedrich Romstedt
I also agree with Reinier.  I want my 3d plots to look as close as possible to my 2d plots.  Because mplot3d uses so much of the same matplotlib core, this is trivial.  As Friedrich mentioned, the mplot3d code is actually pretty small.  To me, that is a great feature.   I found the mplot3d

Re: [Matplotlib-users] Change the size of the plotted 'o's ?

2010-02-26 Thread mikey
Sorry a rather stupid question as there are '.'s available. Although I wouldn't mind knowing if it's possible to tinker with the sizes of 'o's and '.'s. Thanks, Mikey On 27 February 2010 00:29, mikey abc.mi...@googlemail.com wrote: Hi there, I've just made script for displaying discrete data

[Matplotlib-users] Change the size of the plotted 'o's ?

2010-02-26 Thread mikey
Hi there, I've just made script for displaying discrete data clustered in boxes on my graph. The plots are plotted with plt.plot(x,y,'o') and the 'o's seem a reasonable size on screen but when I render it to file they look huge so I'd like to reduce their size. Does anyone know how this is done?

Re: [Matplotlib-users] Change the size of the plotted 'o's ?

2010-02-26 Thread PHobson
-Original Message- From: mikey [mailto:abc.mi...@googlemail.com] Sent: Friday, February 26, 2010 4:29 PM To: matplotlib-users@lists.sourceforge.net Subject: [Matplotlib-users] Change the size of the plotted 'o's ? Hi there, I've just made script for displaying discrete data

Re: [Matplotlib-users] Change the size of the plotted 'o's ?

2010-02-26 Thread John Hunter
On Fri, Feb 26, 2010 at 6:35 PM, mikey abc.mi...@googlemail.com wrote: Sorry a rather stupid question as there are '.'s available. Although I wouldn't mind knowing if it's possible to tinker with the sizes of 'o's and '.'s. See the markersize parameter

Re: [Matplotlib-users] Change the size of the plotted 'o's ?

2010-02-26 Thread Gökhan Sever
On Fri, Feb 26, 2010 at 6:29 PM, mikey abc.mi...@googlemail.com wrote: Hi there, I've just made script for displaying discrete data clustered in boxes on my graph. The plots are plotted with plt.plot(x,y,'o') and the 'o's seem a reasonable size on screen but when I render it to file they

[Matplotlib-users] Artist tutorial different response

2010-02-26 Thread David Arnold
All, On: http://matplotlib.sourceforge.net/users/artists.html In the Axes Container section, you can see in what follows that I got some very different responses than what is shown on the page: In [1]: fig=figure() In [3]: ax=fig.add_subplot(111) In [4]: