Re: piechart with percent...
- To: mathgroup at smc.vnet.net
- Subject: [mg101460] Re: [mg101429] piechart with percent...
- From: DrMajorBob <btreat1 at austin.rr.com>
- Date: Wed, 8 Jul 2009 07:08:21 -0400 (EDT)
- References: <200907070905.FAA22153@smc.vnet.net>
- Reply-to: drmajorbob at bigfoot.com
This changes the Tooltip outputs to percents:
Clear@pctPieChart3D
pctPieChart3D[nums_List] :=
PieChart3D@nums /.
Style[x_?NumericQ, y_] :> Style[100. x/Total@nums "%", y]
pctPieChart3D@{1000, 5000, 4000}
Bobby
On Tue, 07 Jul 2009 04:05:51 -0500, Lobotomy <labbman at gmail.com> wrote:
> Hi I have a piechart consisting of 3 functions.
>
>
> PieChart3D[{\[Alpha]*\[Zeta]*\[Psi], \[Lambda], f - \[Alpha]*\[Zeta]*
> \[Psi] - \[Lambda]}]
>
> the output from the functions are real numbers.. for instance it could
> be 1000, 5000, 4000.
>
>
> I want to show the procental distribution between these somehow. in
> the above example the different functions would have 10% 50% and 40%
> written beside them...
>
--
DrMajorBob at bigfoot.com
- References:
- piechart with percent...
- From: Lobotomy <labbman@gmail.com>
- piechart with percent...