Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Framelabel without drawing frame
Replies: 1   Last Post: Mar 17, 2013 7:48 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Bob Hanlon

Posts: 906
Registered: 10/29/11
Re: Framelabel without drawing frame
Posted: Mar 17, 2013 7:48 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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
>





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.