Re: [Matplotlib-users] zoomed in detail box

2009-07-09 Thread Jae-Joon Lee
On Thu, Jul 9, 2009 at 7:24 AM, Robin wrote: >> On Wed, Jul 8, 2009 at 10:57 PM, Jae-Joon Lee wrote: >>> If you use the svn version of matplotlib, you  may use axes_grid toolkit. >>> >>> http://matplotlib.sourceforge.net/mpl_toolkits/axes_grid/users/overview.html#insetlocator > > Wow - this is real

Re: [Matplotlib-users] {axesgrid} - How to change fontsize on multiple labels?

2009-07-09 Thread Jae-Joon Lee
On Thu, Jul 9, 2009 at 12:40 AM, Gökhan SEVER wrote: > I have one tiny question left working on these figures; that is: how to make > mathtext font and a regular label font at the same size? > > For instance: > > host.set_ylabel(r"DMT CCN Concentration [ #/$cm^3$]") > > but as it is seen from the f

Re: [Matplotlib-users] Cannot build matplot on OS X: libfreetype.dylib and libiconv.2.dylib are not of the right architecture

2009-07-09 Thread W.P. McNeill
That worked. I was able to install matplotlib-0.98.5.3-py2.5-macosx10.5.zip . Thanks. On Thu, Jul 9, 2009 at 3:51 PM, Robin wrote: > On Thu, Jul 9, 2009 at 10:13 PM, W.P. McNeill wrote

Re: [Matplotlib-users] current svn fails to build on mac

2009-07-09 Thread Michiel de Hoon
> I should have specified I'm on OS X 10.5.7. Xcode 3.0. I'm using the same, but I'm not seeing this error. Can you verify that matplotlib 0.98.5.3 still compiles correctly? If it does, we can compare the linker flags used for 0.98.5.3 and the svn version to find the problem. --Michiel. ---

Re: [Matplotlib-users] Double Zoom in WXAgg backend

2009-07-09 Thread Jervis Whitley
Mike, Thanks for your help! Cheers, Jervis > -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App

Re: [Matplotlib-users] SourceForge issues was: Re: current svn fails to build on mac

2009-07-09 Thread Robin
On Thu, Jul 9, 2009 at 2:25 PM, Michael Droettboom wrote: > > This appears to be a bug in the recent updates to the SourceForge interface: > > https://sourceforge.net/apps/trac/sourceforge/ticket/1748 > > I have set the default download file to 0.98.5, however, the setting doesn't > seem to stick.

Re: [Matplotlib-users] Remove box around legend?

2009-07-09 Thread Joseph Smidt
Thank you! That did it. I thought I read the webpage you sent 10 times, but didn't even notice. Thanks. On Thu, Jul 9, 2009 at 3:38 PM, Chaitanya Krishna wrote: > Hi, > > legend.draw_frame(False) should do the trick. Check out > http://matplotlib.sourceforge.net/api/artist_api.html?highlight=dr

Re: [Matplotlib-users] Cannot build matplot on OS X: libfreetype.dylib and libiconv.2.dylib are not of the right architecture

2009-07-09 Thread Robin
On Thu, Jul 9, 2009 at 10:13 PM, W.P. McNeill wrote: > This is matplotlib-0.91.4.  I get the same error whether I install via > the egg or download the zipped tar ball and run "python setup.py > build". That's quite an old version. Could you try with a more recent release? 0.98.5.3 is the latest r

[Matplotlib-users] contribute to gallery? Or, just advice on changing colors automagically....

2009-07-09 Thread John [H2O]
Just curious if you're interested in folks contributing to the gallery. I was playing around trying to come up with a routine to automatically choose colors when plotting several datasets, not necessarily from a single array, but rather say iterating through a list of datasets. I came up with the

Re: [Matplotlib-users] Remove box around legend?

2009-07-09 Thread Chaitanya Krishna
Hi, legend.draw_frame(False) should do the trick. Check out http://matplotlib.sourceforge.net/api/artist_api.html?highlight=draw_frame#matplotlib.legend.Legend.draw_frame Cheers, Chaitanya On Thu, Jul 9, 2009 at 11:18 PM, Joseph Smidt wrote: > I see lots of examples on how to play around with th

Re: [Matplotlib-users] WxWidget animation twinkling?

2009-07-09 Thread guillaume ranquet
I tried on 2 computers, both with gentoo. one 64bit with mpl 0.98.5.3 and wxwidget 2.8.10.1 another with mpl svn rev 7249 and wxwidget 2.8.10 and it 'twinkle', the lines are not drawn each frame. I recorded a small video which I put on rapidshare (couldn't think of anything better for now) : http:/

[Matplotlib-users] Remove box around legend?

2009-07-09 Thread Joseph Smidt
I see lots of examples on how to play around with the legend, adding columns, shadow, etc...Is there a way to remove the box so that all you see are the items of things being plotted with no box around them? Also, keeping the box but removing the black outline around the box is good enough

[Matplotlib-users] Cannot build matplot on OS X: libfreetype.dylib and libiconv.2.dylib are not of the right architecture

2009-07-09 Thread W.P. McNeill
I am trying to install matplot on an OS X (10.5.7) Intel MacBook. I cannot build the matplot lib extensions. I get the following error: g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -bundle -undefined dynamic_lookup build/temp.macosx-10.3-i386-2.5/src/ft2font.o build/te

Re: [Matplotlib-users] Qt backend

2009-07-09 Thread Darren Dale
On Thu, Jul 9, 2009 at 10:05 AM, Mustafa Sakalsiz wrote: > Hi all, > > I have a PyQt application and want to show some charts on it. However, I > don't want to show the charts on a classic widget, instead I need to show > the charts on a QGraphicsView/QGraphicsScene object. Because I am using > gr

Re: [Matplotlib-users] WxWidget animation twinkling?

2009-07-09 Thread C M
On Thu, Jul 9, 2009 at 3:40 AM, guillaume ranquet wrote: > Hi again. > > I found out that removing the resize handler of the wxpanel gives me a > nice animated plot that works as expected (but with no resize :-/) > > def _SetSize(self): >pixels = tuple(self.parent.GetClientSize()) >self.Se

Re: [Matplotlib-users] Visuals for linux file systems

2009-07-09 Thread vehemental
I believe most of the plots have been made using this: http://people.csail.mit.edu/rasmus/summon/index.shtml#download I'm currently playing around with 2D OpenGL visualization of large datasets and stumbled upon this... which reminded me of this post... may be of use to someone j. Gökhan SEVE

[Matplotlib-users] centering axis ticks labels

2009-07-09 Thread Johann Cohen-Tanugi
Hello, how can I center axis tick labels, so that the labels ends up at the center between 2 ticks. thanks in advance, Johann -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in pri

[Matplotlib-users] Qt backend

2009-07-09 Thread Mustafa Sakalsiz
Hi all, I have a PyQt application and want to show some charts on it. However, I don't want to show the charts on a classic widget, instead I need to show the charts on a QGraphicsView/QGraphicsScene object. Because I am using graphics view's zoom properties. Therefore I want to paint the charts

Re: [Matplotlib-users] Double Zoom in WXAgg backend

2009-07-09 Thread Michael Droettboom
In your example, you are adding the axes to the figure twice: axes = self.figure.add_subplot(1, 1, 1) self.figure.add_axes(axes) add_subplot both creates and adds the axes to the figure, so it is unnecessary to later add it. add_axes is intended for axes that have been created

[Matplotlib-users] SourceForge issues was: Re: current svn fails to build on mac

2009-07-09 Thread Michael Droettboom
Robin wrote: > PS - some minor comments about the sourceforge download page (I dont > know if these can be changed): > On the summary page ( http://sourceforge.net/projects/matplotlib/ ) > the "download now" link which I would think should point to the > latest release point to 0.91. Then when you

Re: [Matplotlib-users] dotted line larger linewidths

2009-07-09 Thread Michael Droettboom
This is arguably a "bug" that the dash descriptors aren't being scaled along with the line width. However, I'm loathe to "fix" it as it's been this way a long time, and all backends are at least consistent with one another in this behavior. Note, however, that inkscape, and I suspect other ve

Re: [Matplotlib-users] histograms : xmax

2009-07-09 Thread Sebastian Busch
hey there! Pau wrote: > ... > 0.00e+00 1.00e-04 81039 > 1.00e-04 2.00e-04 4472 > 2.00e-04 3.00e-04 2033 > ... > > The bins are given by the two first number columns. > > For instance, the first bin is from 0.00e+00 to 1.00e-04 and has the > number of data 81039 hey pau! i do not unders

Re: [Matplotlib-users] current svn fails to build on mac

2009-07-09 Thread Michiel de Hoon
setupext.py was indeed not reading the macosx build information from setup.cfg. I've put a patch here: http://sourceforge.net/tracker/?func=detail&atid=560722&aid=2818964&group_id=80706 (patch number 2818964). The error you're seeing is described in this technical note from Apple: http://deve

Re: [Matplotlib-users] zoomed in detail box

2009-07-09 Thread Robin
> On Wed, Jul 8, 2009 at 10:57 PM, Jae-Joon Lee wrote: >> If you use the svn version of matplotlib, you may use axes_grid toolkit. >> >> http://matplotlib.sourceforge.net/mpl_toolkits/axes_grid/users/overview.html#insetlocator Wow - this is really amazing. Sometimes it can be a bit frustrating wh

Re: [Matplotlib-users] current svn fails to build on mac

2009-07-09 Thread Robin
On Thu, Jul 9, 2009 at 12:15 PM, Robin wrote: > On Thu, Jul 9, 2009 at 12:06 PM, Michiel de Hoon wrote: >> >> One thing that changed between 0.98.5.3 and the current SVN version is that >> we're now using matplotlib's path cleanup code, which is in C++. Maybe the >> linker is picking up different

Re: [Matplotlib-users] current svn fails to build on mac

2009-07-09 Thread Robin
On Thu, Jul 9, 2009 at 11:11 AM, Robin wrote: > How can I disable building the mac os x backend. I copied > setup.cfg.example to setup.cfg and have "macosx = False" but it > doesn't seem to have any effect. "python setup.py config" still > reports  "Mac OS X native: yes". I disabled macosx buildin

[Matplotlib-users] current svn fails to build on mac

2009-07-09 Thread Robin
Hi, Just to let folks know the current SVN version fails to build on a mac. I built the release (0.98.5.3) successfully from source so I think my environment, dependencies etc. should be OK. The problem seems to be building mac os x native backend: building 'matplotlib.backends._macosx' extension

Re: [Matplotlib-users] get_position vs set_position

2009-07-09 Thread Matthias Michler
Hi Robin, On Wednesday 08 July 2009 18:48:04 Robin wrote: > On Wed, Jul 8, 2009 at 4:00 PM, Matthias Michler wrote: > > What version of matplotlib do you use? > > I think I am up to date. > > > For me the following works: > > > > ax.set_position(ax.get_position()) > > That works for me to - the p

Re: [Matplotlib-users] WxWidget animation twinkling?

2009-07-09 Thread guillaume ranquet
Hi again. I found out that removing the resize handler of the wxpanel gives me a nice animated plot that works as expected (but with no resize :-/) def _SetSize(self): pixels = tuple(self.parent.GetClientSize()) self.SetSize(pixels) self.canvas.SetSize(pixels) self.figure.set_size

[Matplotlib-users] Double Zoom in WXAgg backend

2009-07-09 Thread Jervis Whitley
Hi, Could anyone help me with the following problem I am having. http://dpaste.com/64913/ The code listed above should be enough to reproduce the problem. I on using the zoom function from the toolbar, I find that the figure limits are set to a smaller size than the zoom i selected - a kind of