|
From: Guilherme A. M. <ga...@gl...> - 2013-07-22 19:23:28
|
Hello guys. I'm having a problem with a matplot graphic and I guess it can be easy for Python experts to solve. Hope I'm not out of topic here. Basically, I'm using this code... http://matplotlib.org/examples/pylab_examples/polar_bar.html ... but I want to turn it in something like this graphic over here... http://www.weathersa.co.za/web/images/articles/windrose.png You see, where more than one bar pointing the same direction will be put one over the other (the biggest in the base and the smallest at the top). I assumed I had to put some function at this part of the code: bars = ax.bar(theta, radii, width=width, bottom=0.0) Turning Bottom into a function call somewhat related to the radii (bar size) if both bars have the same theta (angle). Point is I'm having some trouble doing that. I'm totally stuck, actually. If not a complete solution, some tip would be apreciated. Thank you very much! |