MathGroup Archive 2009

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

Search the Archive

Re: barchart with vertical tick labels on the horizontal axis.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99973] Re: barchart with vertical tick labels on the horizontal axis.
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Wed, 20 May 2009 05:03:05 -0400 (EDT)
  • References: <guu2dd$66i$1@smc.vnet.net>

In 7 you could use Rotate:

BarChart[{{1, 2, 3}, {1, 3, 2}, {5, 2}},
 ChartLabels -> {Rotate["Chocolate", 90 \[Degree]],
   Rotate["Flour", 90 \[Degree]], Rotate["Sugar", 90 \[Degree]]}]

Perhaps you could use Epilog and Text in 6? It's a bit messy, but
should be doable.

Cheers -- Sjoerd

On May 19, 12:41 pm, andersgs <ander... at gmail.com> wrote:
> hello.
>
> i am trying to add vertical tick labels to the horizontal axis of a
> bar chart. i have tried solutions proposed previously in this
> discussion group. but, they were for version 5x and don't seem to
> behave the same in version 6. any insights would be greatly
> appreciated.
>
> the labels are strings.
>
> thank you.
>
> anders.



  • Prev by Date: Re: barchart with vertical tick labels on the horizontal axis.
  • Next by Date: Re: Integration Issue
  • Previous by thread: Re: barchart with vertical tick labels on the horizontal axis.
  • Next by thread: Integration Issue