Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10415 > unrolled thread
| Started by | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| First post | 2012-06-10 06:15 +0000 |
| Last post | 2012-06-10 06:15 +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: SmoothHistogram and Legends Bob Hanlon <hanlonr357@gmail.com> - 2012-06-10 06:15 +0000
| From | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| Date | 2012-06-10 06:15 +0000 |
| Subject | Re: SmoothHistogram and Legends |
| Message-ID | <jr1e2p$757$1@smc.vnet.net> |
You can roll your own:
SmoothHistogram[
Table[Tooltip[
RandomVariate[
ExponentialDistribution[a], 500], a],
{a, {0.1, 0.3, 0.5}}],
Frame -> True, Axes -> False,
PlotRange -> {{-2, 30}, {0, .4}},
PlotStyle -> {Red, Blue, Green},
Epilog -> {
Table[{{Red, Blue, Green}[[n]],
Line[{{20, .15 + .04 n},
{22, .15 + .04 n}}],
Black,
Text[{0.1, .3, .5}[[n]],
{23.5, .15 + .04 n}]},
{n, 3}]}]
Bob Hanlon
On Sat, Jun 9, 2012 at 3:07 AM, <dangoogle@warp-7.com> wrote:
> I am trying to put a legend on a SmoothHistogram that I generate
> (Mathematica 8), using an array of 6 data sets. I can not find a
> single method for making a legend on a SmoothHistogram. All of the
> methods that work with other charts and graphics don't seem to work
> with a SmoothHistogram. Has anyone accomplished this?
>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web