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
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:
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
plots
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 plot
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 are
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
,functions.lowerboundsweek1,functions.lowerboundsweek2):
annotate(function,xy=(x,y),size=8,color='g')
On Tue, 2008-02-26 at 16:51 +, chombee wrote:
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
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
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')
...
10 matches
Mail list logo