> You could perhaps use 6 subplots, and place the titles manually.
> Something like
>
> suptitle(r'Top title', y=0.95)
> suptitle(r'Bottom title', y=0.05)
Thanks, that worked very well. I got the plot that I wanted and with
much tidier source code:
http://dl.dropbox.com/u/136038/bar
I'm trying to make a figure with six subplots, here's what I've managed
so far:
http://dl.dropbox.com/u/136038/bar-00-protagonist.png
That's actually done with two subplots (the top row and the bottom row)
and what looks almost like 3 separate pairs of axes in each row is
actually just one pair o
On Fri, 2008-02-29 at 08:56 -0500, Michael Droettboom wrote:
> I don't believe there is at present. There was a recent discussion
> about this on the list, and it's on the radar as something to add for a
> future release.
Oh well. Good to know it's on the radar. For now I'll just modify my
plot
I'm making some scatter plots which will probably end up getting printed
in black and white. I'm actually drawing two scatter plots onto one
axes. So to the distinguish between the two plots I've had them use
different marker shapes and different shades of grey.
The problem is that the legend disp
Okay I see what's going on now. The output from axis('tight') specifies
the limits of the two axes:
> (-0.33718689788053952,
> 7.0809248554913298,
> -0.34782608695652173,
> 7.3043478260869561)
As you can see it's actually setting negative minimum limits for both
axes, which is why the axes ar
On Thu, 2008-02-28 at 14:19 +0100, Bernhard Voigt wrote:
>
> How do I get rid of the redundant ticks on the top and right
> edges?
>
> pylab.gca().get_xaxis().set_ticks_postion('bottom')
>
> same for yaxis
That worked, thanks!
> Why is there such a big gap between the
ions.lowerboundsweek2))
for function,x,y in
map(None,functions.shortnames,functions.upperboundsweek1,functions.upperboundsweek2):
annotate(function,xy=(x,y),size=8,color='b')
for function,x,y in
map(None,functions.shortnames,functions.lowerboundsweek1,functions.lowerboundsweek2):
annotate(function
I'm having a couple of problems drawing a basic relational scatter plot.
(Specifically, it's called a dot-dash-plot in the book I have and is
described as "framing the bivariate scatter with the marginal distribution
of each variable.") The idea is that you have a bivariate scatter plot
and use the
On Thu, 2008-02-07 at 10:21 -0600, Ryan May wrote:
> Changing the legend call to this fixed it:
> P.legend((b1[0],b2[0]),('lower','upper'))
That fixed it for me too. Thanks. The thread just started by Reckoner
about the same problem also has the answer: "In a nutshell, bar returns
a list of recta
My legend shows both plots as the same colour (blue) when in fact they
are different colours. Here's the relevant code:
font = FontProperties(size='small');
...
b1 = bar(i,lowermeans,width,color='b')
b2 = bar(i+width,uppermeans,width,color='y')
...
legend((b1,b2
On Tue, 2008-02-05 at 15:20 -0600, John Hunter wrote:
> On Feb 5, 2008 2:17 PM, chombee <[EMAIL PROTECTED]> wrote:
> > Could anyone advise me or give me an example of how to prevent a legend
> > from obscuring a plot, or how I could do this better:
> >
> > http:/
Could anyone advise me or give me an example of how to prevent a legend
from obscuring a plot, or how I could do this better:
http://www.23hq.com/seanh/photo/2862125/view-large
I tried moving the legend out of the way using (x,y) coords but if I
move it out of the axes viewport it also moves out
12 matches
Mail list logo