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


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

Bar Graphs and Frame Labels

From Mike McCraith <sandwaterhand@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Bar Graphs and Frame Labels
Date 2012-08-24 09:06 +0000
Message-ID <k17g7f$dr1$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


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!

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web