Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #13521
| From | Helen Read <readhpr@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: barchart |
| Date | 2013-02-17 09:08 +0000 |
| Message-ID | <kfq6nb$4vi$1@smc.vnet.net> (permalink) |
| References | <kfn7o2$qal$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
list1 = RandomInteger[{1, 25}, 5];
list2 = RandomInteger[{8, 15}, 8];
BarChart[{list1, list2}, Epilog -> {Red, Line[{{0, 10}, {15, 10}}]}]
plot1 = BarChart[{list1, list2}];
plot2 = Plot[10, {x, 0, 14}, PlotStyle -> Red];
Show[{plot1, plot2}]
Helen Read
University of Vermont
On 2/16/2013 1:08 AM, Francisco Gutierrez 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
>
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
barchart Francisco Gutierrez <fgutiers2002@yahoo.com> - 2013-02-16 06:08 +0000 Re: barchart Helen Read <readhpr@gmail.com> - 2013-02-17 09:08 +0000
csiph-web