MathGroup Archive 2013

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

Search the Archive

Re: barchart


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 yahoo.com> 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 math.umass.edu
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








  • 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