[Matplotlib-users] Need to do a legend for a broken_barh plot

2008-10-01 Thread greg7201
Any ideas? I can't seem to get it to work. I am basically doing a horizontal stacked bar chart, and using different colors for the stacks. Just need some way to identify what each color stands for. -- View this message in context: http://www.nabble.com/Need-to-do-a-legend-for-a-broken_barh-pl

Re: [Matplotlib-users] Newbie question - rotated XY chart

2008-09-24 Thread greg7201
That does the trick. I assumed that swaping the plot parameters would cause other problems, but it doesn't. That was simple! Thanks! Starting with the obvious -- x and y are arbitrary, so instead of plot (x, y) you can plot(y, x) If you need the data to be descending (smaller values o

[Matplotlib-users] Newbie question - rotated XY chart

2008-09-24 Thread greg7201
I am such a matplotlib newbie... but it looks very cool. I need to create a basic graph, EXCEPT the x axis needs to go down the page, and the y axis is across the bottom. (The chart is to display drilling information and the norm for drilling engineers is to display depth - the x axis - down the