Re: [Matplotlib-users] legend for bar charts

2008-09-11 Thread Jonathon Anderson
b2l[0], b1l[0], b0l[0]],["98,304 - 163,840 Cores", "32768 - 98,303 Cores", "8,192 - 32,767 Cores", "0 - 8,191 Cores"], loc="upper left", shadow=True) but I would be interested in hearing a better way. ~jon On Thu, Sep 11, 2

Re: [Matplotlib-users] legend for bar charts

2008-09-11 Thread Jonathon Anderson
ores", "32768 - 98,303 Cores", "8,192 - 32,767 Cores", "0 - 8,191 Cores"], loc="upper left", shadow=True) And got the same results. (I had thought that multiple bar commands would replace, rather than stack, on a given axis.) ~jon On Thu, S

[Matplotlib-users] legend for bar charts

2008-09-11 Thread Jonathon Anderson
I have a multicolor bar chart that I create like this: bar(dates*4, b3 + b2 + b1 + b0, color=(['#9E73C1']*len(dates) + ['#A6DE62']*len(dates) + ['#F35E5A']*len(dates) + ['#4992DE']*len(dates)), width=4) How can I create a legend for this? leg = legend(["98,304 - 1

[Matplotlib-users] squishing a plot axis

2008-09-11 Thread Jonathon Anderson
I've got a pretty standard "plot with a title" set up, but my title is three lines long, and is pushed off the top of the figure by the layout. How can I "squish" (rescale) the y-axis of my axes to give more room above the figure? How can I add padding around the axes in the figure? (For now, I'v

[Matplotlib-users] box chart

2007-05-18 Thread Jonathon Anderson
I am tracking and visualizing temperatures for the nodes of a computing cluster. I am already using matplotlib to render historical temperature data as a line plot, but I also want to be able to show averages over a time range. I want to represent this as a 2-D array of boxes shaded with a gradien

[Matplotlib-users] xlim, ylim

2007-01-28 Thread Jonathon Anderson
It seems that xlim/ylim only set outside bounds. (Don't plot less than min, or more than max.) Is there any way to specify a plot range even if there's no data there? Like, if my graph plots [5,6,7,8], [5,7,3,6] could I specify that my plot should display x and y from 0 to 10? ~jonatho

[Matplotlib-users] object-oriented interface

2007-01-25 Thread Jonathon Anderson
Could someone point me to documentation of the oo interface? Everything seems to reference pylab (even examples that say they're for the oo interface). ~jonathon - Take Surveys. Earn Cash. Influence the Future of IT Join Sour

Re: [Matplotlib-users] multiple lines, multiple plots, single figure

2007-01-19 Thread Jonathon Anderson
f(). So the two commands lists you have below end up being functionally equivalent. --Tom On 1/19/07, Jonathon Anderson <[EMAIL PROTECTED]> wrote: > I have several lines of data that I want to plot on the same graph, but > every time I run the pylab.plot() function it redraws the

[Matplotlib-users] multiple lines, multiple plots, single figure

2007-01-19 Thread Jonathon Anderson
l the data at once? e.g., Do I have to do this: pylab.plot(x1, y1, x2, y2, x3, y3, ...) or can I do this: pylab.plot(x1, y1) pylab.plot(x2, y2) pylab.plot(x3, y3) ... ~jonathon anderson - Take Surveys. Earn Cash. Influenc