Hi all –
I’m new to Matplotlib, and it looks like a great project, but I’m having trouble figuring out one thing.
I would like to draw a pie chart, but have each wedge appear to have thickness. I see from the examples and the docs that it is possible to draw a wedge in relief so that it appears to cast a shadow, but I don’t see how to make it look something like this. Pardon my bad ascii art.
···
___________________
> \ /
\ \ /
\ \ /
\ \ /
\ \ /
\ \ /
\ \ /
\ \ /
\ \/
\|
Is there a way to do this?
Thanks,
Gary
You need to define your own path (or you may combine a wedge and rectangles).
This may be helpful.
http://matplotlib.sourceforge.net/users/path_tutorial.html
Regards,
-JJ
···
On Sat, Mar 20, 2010 at 2:33 PM, Gary Jaffe <gfj555@...287...> wrote:
Hi all --
I'm new to Matplotlib, and it looks like a great project, but I'm having
trouble figuring out one thing.
I would like to draw a pie chart, but have each wedge appear to have
thickness. I see from the examples and the docs that it is possible to draw
a wedge in relief so that it appears to cast a shadow, but I don't see how
to make it look something like this. Pardon my bad ascii art.
___________________
> \ /
\ \ /
\ \ /
\ \ /
\ \ /
\ \ /
\ \ /
\ \ /
\ \/
\|
Is there a way to do this?
Thanks,
Gary
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options