Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #13871
| From | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Framelabel without drawing frame |
| Date | 2013-03-17 23:48 +0000 |
| Message-ID | <ki5kor$e7m$1@smc.vnet.net> (permalink) |
| References | <20130316071600.46B2C69C8@smc.vnet.net> |
| Organization | Time-Warner Telecom |
With[{n = 8, p = 0.2},
Labeled[
BarChart[
Table[
PDF[BinomialDistribution[n, p], i],
{i, 0, n}],
PlotRange -> All,
ChartLabels -> Range[0, n]],
{"Count of successes",
Rotate["Probability", Pi/2]},
{Bottom, Left}]]
Bob Hanlon
On Sat, Mar 16, 2013 at 3:16 AM, Fred Schenkelberg <fms@garlic.com> wrote:
> Hi
>
> I've been trying to add what looks like frame labels to x and y axis of bar chart - and without Frame->True - as I do not want look of the full frame.
>
> BarChart[Table[PDF[BinomialDistribution[8, 0.2], i], {i, 0, 8}],
> PlotRange -> All,
> ChartLabels -> {"0", "1", "2", "3", "4", "5", "6", "7", "8"}]
>
> just trying to label the x axis with "Count of successes" and y axis with "Probability" rotated along y axis
>
> I can get framelabel to do this properly, yet not able to not show the frame when I do Frame -> True
>
> any suggestions?
>
> thanks,
>
> Fred
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Framelabel without drawing frame Bob Hanlon <hanlonr357@gmail.com> - 2013-03-17 23:48 +0000
csiph-web