Re: Mathematica 7: PieChart: opacity of a sector label?
- To: mathgroup at smc.vnet.net
- Subject: [mg93916] Re: [mg93878] Mathematica 7: PieChart: opacity of a sector label?
- From: Syd Geraghty <sydgeraghty at me.com>
- Date: Fri, 28 Nov 2008 05:10:09 -0500 (EST)
- References: <200811271034.FAA08900@smc.vnet.net>
Hi Gordon,
No luck after 20 minutes of deciphering options.
I thought maybe Style would override as in:-
Style[m1, {Bold, Black}]
But no luck.
Looks like the label style is linked to the sector.
The only positive suggestion is to use a different color function that
gives the soft colours you desire.
Cheers ... Syd
Syd Geraghty B.Sc, M.Sc.
sydgeraghty at mac.com
Mathematica 7.0.0 for Mac OS X x86 (64 - bit) (21st November, 2008)
MacOS X V 10.5.4
MacBook Pro 2.33 Ghz Intel Core 2 Duo 2GB RAM
On Nov 27, 2008, at 2:34 AM, Gordon Robertson wrote:
> Could I ask for help with the following? In Mathematica 6, a
> sector's label was
> automatically dark (very readable) text, independent of the
> Opacity[] of its
> sector. In Mathematica 7, at this point I'm finding that a pie
> sector's label has the
> opacity of its sector. For example, the following has a pale blue
> sector
> with an 'm1' label -- but both the blue and the label have an
> opacity of
> 0.5. Putting Opacity[1] into the BaseStyle Directive does not change
> this.
>
> PieChart[{0.3, 1 - 0.3},
>
> ChartLabels -> Placed[{m1, ""}, "RadialCallout"],
>
> ChartStyle -> {
> Directive[Darker[Blue], Opacity[0.5]],
> Directive[Gray, Opacity[0.2]]},
>
> BaseStyle -> Directive[FontFamily -> "Helvetica", 12],
> ImageSize -> 200]
>
> I've studied the PieChart help documentation for some time without
> finding a
> way to declare the label as opaque i.e. dark. I'm probably simply
> not seeing
> what I need to see.
>
> Thanks in advance for your help. I'm on an Intel Mac with OS X 10.5.5.
>
> G
> --
> Gordon Robertson
> Gene Regulation Informatics
> Canada's Michael Smith Genome Sciences Centre
> Vancouver BC Canada
> www.bcgsc.ca
>
>
>
- References:
- Mathematica 7: PieChart: opacity of a sector label?
- From: Gordon Robertson <grobertson@bcgsc.ca>
- Mathematica 7: PieChart: opacity of a sector label?