Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Problem with FrameTicks and BarLabels

  • To: mathgroup at smc.vnet.net
  • Subject: [mg81166] Re: Problem with FrameTicks and BarLabels
  • From: "David Park" <djmpark at comcast.net>
  • Date: Fri, 14 Sep 2007 03:41:10 -0400 (EDT)
  • References: <fcb3kq$fi5$1@smc.vnet.net>

Needs["BarCharts`"]

Show[BarChart[{97, 2345, 89}, BarOrientation -> Horizontal,
  Frame -> True,
  FrameTicks -> {{{{1, "a"}, {2, "b"}, {3, "c"}},
     None}, {{0, 500, 1000, 1500, 2000, 3000}, None}},
  GridLines -> {{0, 500, 1000, 1500, 2000, 3000}, None}]]


David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/


<tomfabtastic at hotmail.com> wrote in message 
news:fcb3kq$fi5$1 at smc.vnet.net...
> Hello,
>
> I would like tick marks only where there is a Tick Mark Label on the
> below graph ((using version 6) :
>
> Show[BarChart[{97, 2345, 89}, BarOrientation -> Horizontal,
>  BarLabels -> {"a", "b", "c"},
>  GridLines -> {{0, 500, 1000, 1500, 2000, 3000}, None}]]
>
> However, if I stipulate FrameTicks, I lose my BarLabels, and am not
> allowed to put anything but a number into FrameTicks :
>
> Show[BarChart[{97, 2345, 89}, BarOrientation -> Horizontal,
>  BarLabels -> {"a", "b", "c"},  Frame -> True,
>  FrameTicks -> {{None, None}, {{0, 500, 1000, 1500, 2000, 3000},
>     None}}, GridLines -> {{0, 500, 1000, 1500, 2000, 3000}, None}]]
>
> Any ideas how I can get the BarLabels back but retain the new
> FrameTicks ?
>
> Thanks,
> Tom
>
> 



  • Prev by Date: Re: Joint Histogram
  • Next by Date: Re: rationalize numerator of quotient
  • Previous by thread: RE: Problem with FrameTicks and BarLabels
  • Next by thread: How to invert a function