Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2013

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

Search the Archive

Re: barchart

  • To: mathgroup at
  • Subject: [mg129832] Re: barchart
  • From: Murray Eisenberg <murrayeisenberg at>
  • Date: Sun, 17 Feb 2013 04:10:54 -0500 (EST)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • References: <>

Are you trying to draw the horizontal line through the bars of the bar chart or through a column of legends?

If the former, in BarChart just use the option Epilog -> Line[{{0,h},{w,h}}] where h is the height you want and w is the ordinate of the right-hand end of the chart.

On Feb 16, 2013, at 1:09 AM, Francisco Gutierrez <fgutiers2002 at> wrote:

> Dear Group:
> I have not managed to combine BarChart with a line.
> The simple problem is the following. I have a labeled BarChart (that is, I use the ChartLegends options) , and I want to draw a horizontal line, to highlight the separation say between units below and above 10. But I do not see how can this be done within BarChart, and I haven't been able to combine BarChart with the line using Show or Graphics.
> Can somebody help me?
> Francisco

Murray Eisenberg                                    murray at
Mathematics & Statistics Dept.      
Lederle Graduate Research Tower            phone 413 549-1020 (H)
University of Massachusetts                               413 545-2838 (W)
710 North Pleasant Street                         fax   413 545-1801
Amherst, MA 01003-9305

  • References:
    • barchart
      • From: Francisco Gutierrez <>
  • Prev by Date: Re: Stephen Wolfram's recent blog
  • Next by Date: Re: Stephen Wolfram's recent blog
  • Previous by thread: Re: barchart
  • Next by thread: Re: barchart