Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Pie charts with labels AND percentages?
Replies: 3   Last Post: Oct 13, 2009 2:44 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 18
Registered: 7/14/09
Re: Pie charts with labels AND percentages?
Posted: Oct 13, 2009 10:19 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Oct 13, 3:57 pm, "the cyclist" <thecyclist
+mathworks_newsgr...@gmail.com> wrote:
> Outspan <borghibor...@gmail.com> wrote in message <b0b603f2-a5dc-429e-96df-28cbb80dc...@v36g2000yqv.googlegroups.com>...
> > Hi all,
> > just a quick question: I'd like to create an exploded pie chart
> > containing both a text label and the percentages for each slice. The
> > following:

> > >> pie(symbols/n, ones(1, 8), {'EURUSD', 'USDJPY', 'EURGBP', 'AUDUSD', 'USDCHF', 'GBPUSD', 'EURJPY', 'Other'});
> > only prints the text labels, though. Do I have to calculate the
> > percentages manually and sprintf() them into the text labels? The pie
> > () help is rather short and I couldn't find an option to display both
> > text labels and percentages.

> > Thanks!
> I do not know the answer to your question, but I instead offer you a quote from Edward Tufte's _The Visual Display of Quantitative Information_:
> " Given their low data-density and failure to order numbers along a visual dimension, pie charts should never be used."

Thanks. So what would you use instead? Histograms?

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.