Re: [Matplotlib-users] Rotate legend ?

2009-03-01 Thread Naoli
Hi, thanks for the answer. That's what I thought. I'm using a bar chart plot to do a Gantt Project planner (please see examplehttp://fetedesmasques.files.wordpress.com/2008/11/gantt.gif). Since it's not possible to draw horizontal bars, I plot a normal bar chart (vertical bars) and rotate the

[Matplotlib-users] dynamically creating then plotting arrays

2009-03-01 Thread per freem
hi all, i am reading a set of tab-separated data from a file and i want to put it into an array, and then plot some of the columns. i know the number of columns ahead of time but not the number of rows. i load the array from the file as follows, which seems to work: data = [] for line in myfile:

Re: [Matplotlib-users] dynamically creating then plotting arrays

2009-03-01 Thread per freem
hi all, please disregard the previous email - i had a mistake in my file that did not do the casting properly when loading the data. i managed to plot my data, but this time i am having a problem with the 'bar' function. when i plot using: x = data[:, 0] y = data[:, 1] bar(x,y) i get the

Re: [Matplotlib-users] Rotate legend ?

2009-03-01 Thread Jae-Joon Lee
Horizontal bar is possible, although i'm not sure it fits your need. http://matplotlib.sourceforge.net/examples/pylab_examples/barh_demo.html Anyhow, with the current mpl, I guess it is much easy to make the horizontal bars with rectangle patches (in case barh does not do what you want), rather

Re: [Matplotlib-users] dynamically creating then plotting arrays

2009-03-01 Thread Eric Firing
per freem wrote: hi all, please disregard the previous email - i had a mistake in my file that did not do the casting properly when loading the data. i managed to plot my data, but this time i am having a problem with the 'bar' function. when i plot using: x = data[:, 0] y =

[Matplotlib-users] making (very simple) Venn diagrams?

2009-03-01 Thread per freem
hi all, can someone advise on how to make simple venn diagrams, like the one here: http://en.wikipedia.org/wiki/File:Venn_diagram_cmyk.svg simply three (or more) intersecting circles, such that one can label every point of their intersection, and maybe make the circles in size proportion to the

[Matplotlib-users] interactive graphs

2009-03-01 Thread Simson Garfinkel
Greetings. I have a colleague who I have worked hard to convert from matlab to matplotlib. One issue that has come up is clickable graphs. He would like to be able to click on the graphs that matplotlib produces and actually have things happen. For example: * Display information about a