Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4512
| From | Heike Gramberg <heike.gramberg@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Display BarChart ticks in AccountingForm? |
| Date | 2011-08-21 09:37 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j2qjk1$d2f$1@smc.vnet.net> (permalink) |
| References | <201108201017.GAA04962@smc.vnet.net> |
You could try something like
BarChart[{1 10^13, 2 10^13, 3 10^13}, ChartLabels -> {"a", "b", "c"},
Ticks -> {None, {#,
AccountingForm[#, DigitBlock -> 3]} & /@ {1 10^13, 2 10^13,
3 10^13}}]
Heike.
On 20 Aug 2011, at 12:17, Porscha Louise McRobbie wrote:
> Hello,
>
> I have a BarChart with large y-values:
>
> BarChart[{1 10^13, 2 10^13, 3 10^13}, ChartLabels -> {"a", "b", "c"},
> Ticks -> {None, {1 10^13, 2 10^13, 3 10^13}}]
>
> I do not want the y-axis tick marks to display in scientific notation.
> How can I get the tick marks to display using AccountingForm? The
> following does not seem to work:
>
> BarChart[{1 10^13, 2 10^13, 3 10^13}, ChartLabels -> {"a", "b", "c"},
> Ticks -> {None,
> AccountingForm[#, DigitBlock -> 3] & /@ {1 10^13, 2 10^13,
> 3 10^13}}]
>
> Thanks in advance,
> Porscha
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Display BarChart ticks in AccountingForm? Heike Gramberg <heike.gramberg@gmail.com> - 2011-08-21 09:37 +0000
csiph-web