Re: Framelabel without drawing frame
- To: mathgroup at smc.vnet.net
- Subject: [mg130176] Re: Framelabel without drawing frame
- From: Bob Hanlon <hanlonr357 at gmail.com>
- Date: Sun, 17 Mar 2013 03:10:08 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
- References: <20130316071600.46B2C69C8@smc.vnet.net>
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 at 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 >
- References:
- Framelabel without drawing frame
- From: Fred Schenkelberg <fms@garlic.com>
- Framelabel without drawing frame