Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: view only every second bar lable on x-axes

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61178] Re: [mg61155] view only every second bar lable on x-axes
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Wed, 12 Oct 2005 01:42:04 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Needs["Graphics`"];

BarChart[{1,4,5,2,3},BarLabels->{"a","","c","","e"}];


Bob Hanlon

> 
> From: "kristoph" <kristophs.post at web.de>
To: mathgroup at smc.vnet.net
> Date: 2005/10/11 Tue AM 03:22:32 EDT
> Subject: [mg61178] [mg61155] view only every second bar lable on x-axes
> 
> Is it possible to see every second or third bar lable on the x-axes? I
> have a lot of data for bar charts and it is impossible to see what each
> bar is representing it looks too crowed. I need to represent all the
> bars but would like to lable just every second or third on of them. For
> example,
> I have 5 bars but only want to lable bar 1,3 and 5. The bars 2 and 4
> must be in the chart but with no lable.
> Lets say the bar lables for bar 1 ist a for 2 is b, 3-c, 4-d and 5 it
> is e.
> I would like to show only lables a,c and e. Lables b and d should be
> suppressed. 
> 
> Thanks for help.
> 
> 


  • Prev by Date: Re: sqrt(x^2) = x
  • Next by Date: Re: Maximum y-value in a list of xy pairs
  • Previous by thread: Re: view only every second bar lable on x-axes
  • Next by thread: Streamline output to avoid redundancy