MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Label style in PieChart?

  • To: mathgroup at
  • Subject: [mg91954] Label style in PieChart?
  • From: Gordon Robertson <grobertson at>
  • Date: Mon, 15 Sep 2008 03:39:26 -0400 (EDT)


I'm using Mathematica 6.0.3 on OSX 10.5. In a PieChart, is it possible
to control the label font size and family? I routinely control this for
'FrameLabel' with ListPLot. But in the following, adding
'LabelStyle -> Directive[12, FontFamily -> "Helvetica"]',  does not
change the '21.7%' label, PieLabelStyle is not valid, PieStyle does
not accept font information, and I have found nothing information in
the Help system or on the web for this.

pct = 21.7

pieLab = StringJoin[ToString[pct], "%"]

PieChart[{pct, 100 - pct}, PieLabels -> {pieLab, ""},
PieStyle -> {Directive[Darker[Blue], Opacity[0.4]], Directive[Gray,
Opacity[0.1]]}, ImageSize -> 200]

Thank you -

Gordon Robertson
B.C. Cancer Agency Genome Sciences Centre
Vancouver BC Canada V5Z 4S6
604.707.5900 x5416

  • Prev by Date: Re: eliminate values while caculating Mean[data]
  • Next by Date: Re: Regressions in Mathematica
  • Previous by thread: Re: how to test where a list contains constant(s) or not
  • Next by thread: Re: Label style in PieChart?