Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #13516 > unrolled thread
| Started by | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| First post | 2013-02-17 09:08 +0000 |
| Last post | 2013-02-17 09:08 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: barchart Bob Hanlon <hanlonr357@gmail.com> - 2013-02-17 09:08 +0000
| From | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| Date | 2013-02-17 09:08 +0000 |
| Subject | Re: barchart |
| Message-ID | <kfq6mg$4uu$1@smc.vnet.net> |
BarChart[
{{1, 2, 3}, {1, 3, 2}},
ChartLegends ->
{"John", "Mary", "Bob"},
Prolog -> {Red,
Line[{{0.5, 1.5}, {7, 1.5}}]}]
BarChart[
{{1, 2, 3}, {1, 3, 2}},
ChartLegends ->
{"John", "Mary", "Bob"},
Epilog -> {Red,
Line[{{0.5, 1.5}, {7, 1.5}}]}]
Show[
Graphics[{Red,
Line[{{0.5, 1.5}, {6.7, 1.5}}]}],
BarChart[
{{1, 2, 3}, {1, 3, 2}},
ChartLegends ->
{"John", "Mary", "Bob"}],
Axes -> True,
AxesOrigin -> {0.5, 0}]
Show[
BarChart[
{{1, 2, 3}, {1, 3, 2}},
ChartLegends ->
{"John", "Mary", "Bob"}],
Graphics[{Red,
Line[{{0.5, 1.5}, {6.7, 1.5}}]}]]
Bob Hanlon
On Sat, Feb 16, 2013 at 1:09 AM, Francisco Gutierrez
<fgutiers2002@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
>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web