On Monday 18 August 2008 09:48:58 am you wrote:
> Hi,
>
> On Mon, Aug 18, 2008 at 2:25 PM, Darren Dale <[EMAIL PROTECTED]> wrote:
> > Could you post a *simple* script that reproduces the problem? And in the
> > meantime, to get a figure that looks better for your publication, can you
> > save your figure as an svg, import it into inkscape, tweak the bad
> > placement, and then save a pdf?
>
> Thanks for the inkscape suggestion - I usually just use eps and pdf
> which I find harder to edit.
>
> Below is the function I use to create the plot. Actually I thought it
> happened with all legends, but I think I have just been focussing on
> these plots for too long, because when I check now it only seems to
> happen when I plot with this function.
> plot_stacked(arange(1,6),arange(1,6)) should reproduce the problem.
> Perhaps it is something to do with setting the labels to '' to delete
> the duplicate copies I don't want?

No, because you can comment out that part of the code and still get a problem 
with the "Higher Order" label.

The problem is that the text placement for the "Higher Order" text label is 
being calculated with reference to the descent of "g" rather than its 
baseline (see http://en.wikipedia.org/wiki/Typeface#Font_metrics). I'm 
looking into it, I think it can be improved.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to