[Matplotlib-users] os x 10.5.2 and macpython

2008-05-21 Thread Gideon Simpson
I wanted to try switching over from apple python to mac python 2.5.2, so I went to rebuild matplotlib svn. With the config: BUILDING MATPLOTLIB matplotlib: 0.98pre python: 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1 (Apple Compute

Re: [Matplotlib-users] re sizing behaviour like in Mircrocal Origin

2008-05-21 Thread Jürgen Waser
I have overridden the size handler (_onSize) of FigureCanvasWxAgg. In there I essentially added a few lines to set the DPI value with respect to the current canvas size in order to resize elements as suggested by John (using figure.dpi.set). At a first glance everything works as expected. Howeve

Re: [Matplotlib-users] distance between tick label and xlabel

2008-05-21 Thread Friedrich Hagedorn
On Wed, May 21, 2008 at 11:13:55AM -0700, Christopher Brown wrote: > I am changing this property, but nothing changes on the figure. From > ipython, and when the figure is visible, I type: > > gca().yaxis.labelpad = 100 > > but the ylabel doesn't move. I'm in 0.98pre from svn. What am I doing >

Re: [Matplotlib-users] distance between tick label and xlabel

2008-05-21 Thread Christopher Brown
> This shouldn't happen if the font metrics are correct, since the > label gets the bounding box of the tick labels and adjusts itself > correctly. This behavior is causing a problem for me. I have two figures with different sets of yticklabels (100 vs 1000), and the ylabels are in different

[Matplotlib-users] force the scale of one scatter plot on a second scatter plot

2008-05-21 Thread PaterMaximus
I want to make one scatter plot and use the same scales on another. I think I seen getting the Axes from the first scatter plot using v=axis() and then setting them on second with axis(v) but I can not get to work. Any help appreciated ---

Re: [Matplotlib-users] segfault using cx-freeze or bbfreeze with matplotlib TkAgg backend on ubuntu 8.04

2008-05-21 Thread Michael Droettboom
I assume you're using the matplotlib 0.91.2 that's distributed with Ubuntu 8.04. There was a recent fix for segfaulting in the exact same place (outside of any sort of freezing apparatus). Since it was related to the interpretation of a pointer, it's possible that you would see this inside of

[Matplotlib-users] bar legends

2008-05-21 Thread Robin
Hi, I have the following code to produce a greyscale stack bar graph for an arbitrary numbers of input vectors with an arbitrary number of elements. This is what I have so far. It works fine - the only problem is I have n times too many legend entries where n is the number of input vectors. I just

Re: [Matplotlib-users] Change position of graphs when using subplot

2008-05-21 Thread Matthias Michler
On Wednesday 21 May 2008 13:59:31 Johan Mazel wrote: > Hi > I'm displaying 4 graphs in one figure. > But the 4 graphs are really to much near each other and the center of the > figure. > Is there anyway to change this, and move them nearer to the edges of the > figure ? > Thanks > Johan Mazel Hi J

[Matplotlib-users] Change position of graphs when using subplot

2008-05-21 Thread Johan Mazel
Hi I'm displaying 4 graphs in one figure. But the 4 graphs are really to much near each other and the center of the figure. Is there anyway to change this, and move them nearer to the edges of the figure ? Thanks Johan Mazel -

[Matplotlib-users] segfault using cx-freeze or bbfreeze with matplotlib TkAgg backend on ubuntu 8.04

2008-05-21 Thread Jonathan Wright
Hello, I am getting segmentation faults when I try to freeze a script which uses the TkAgg backend, on python2.5.2, gcc 4.2.3 (ubuntu 8.04, hardy heron). A trial script is: import matplotlib matplotlib.use("TkAgg") # unless you have it in matplotlibrc import matplotlib.backends.backend_tkagg