Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11481 > unrolled thread

Bar Graphs and Frame Labels

Started byMike McCraith <sandwaterhand@gmail.com>
First post2012-08-24 09:06 +0000
Last post2012-08-24 09:06 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Bar Graphs and Frame Labels Mike McCraith <sandwaterhand@gmail.com> - 2012-08-24 09:06 +0000

#11481 — Bar Graphs and Frame Labels

FromMike McCraith <sandwaterhand@gmail.com>
Date2012-08-24 09:06 +0000
SubjectBar Graphs and Frame Labels
Message-ID<k17g7f$dr1$1@smc.vnet.net>
Hey there.  I'm trying to label the x-axis of a bar graph that is framed.
 Here's the code:

BarChart[{68, 56, 48, 37, 9},
 FrameTicks -> {{Automatic, None}, {None, None}}, ImageSize -> 400,
 PlotRange -> {{0.3, 5.5}, {0, 70.5}},
 PlotLabel -> Style["Revenues (in millions) in Foreign Aid \r to Central
American Countries, 2011", 14],
 Frame -> True, Axes -> {False, True},
 ChartLabels -> Placed[{"Guatemala ", "Honduras ", "El Salvador ",
"Nicaragua ", "Panama "}, Below, Rotate[#, Pi/2] &],
 FrameLabel -> {Graphics[Text["Country", Bottom]],
   "Foreign Aid (in millions of dollars)"} ]

However, there is a very large gap between the labels of the bars and the
label of the frame. Is there any way for the frame label be moved a lot
closer?

Thanks much for the help!

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web