[Matplotlib-users] Newbie question - rotated XY chart
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 left side of graphs). Can matplotlib do this? Just point me in the right direction... I'll figure it out. Thanks in advance... -- View this message in context: http://www.nabble.com/Newbie-question---rotated-XY-chart-tp19661397p19661397.html Sent from the matplotlib - users mailing list archive at Nabble.com. - 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
Re: [Matplotlib-users] Newbie question - rotated XY chart
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 on top, larger values on bottom) you can invert the normal ordering with ylim(big_value, small_value) If neither of these is what you are looking for, please elaborate a bit. JDH - 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 -- View this message in context: http://www.nabble.com/Newbie-question---rotated-XY-chart-tp19661397p19662093.html Sent from the matplotlib - users mailing list archive at Nabble.com. - 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
[Matplotlib-users] Need to do a legend for a broken_barh plot
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-plot-tp19768229p19768229.html Sent from the matplotlib - users mailing list archive at Nabble.com. - 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