I'm plotting disk partitioning and available space.
I have a pie chart showing the partitioning: e.g. 30% /
, 70% /home
.
In the second ring I want to show that 90% /
is full, 10% of /
is empty. 10% /home
is full, 90% /home
is empty.
How can I generate the 'second' series of the wedges?
Please give example in LibreOffice, gnuplot, matplotlib, etc.
Something like this:
Best Answer
Assume your data is in the format:
Try using the
reportlab.graphics
library (available from the Ubuntu and Fedora repositories aspython-reportlab
):Sample output: