MathGroup Archive 2011

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

Search the Archive

Re: Display BarChart ticks in AccountingForm?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg121004] Re: Display BarChart ticks in AccountingForm?
  • From: Heike Gramberg <heike.gramberg at gmail.com>
  • Date: Sun, 21 Aug 2011 05:32:44 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • 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
> 





  • Prev by Date: Re: A two part notation question
  • Next by Date: Re: What do I do to get better curves?
  • Previous by thread: Display BarChart ticks in AccountingForm?
  • Next by thread: Re: Display BarChart ticks in AccountingForm?