Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Bar Graphs and Frame Labels

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127819] Bar Graphs and Frame Labels
  • From: Mike McCraith <sandwaterhand at gmail.com>
  • Date: Fri, 24 Aug 2012 05:04:11 -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

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!




  • Prev by Date: Re: Group and Replace itens sequence in a list
  • Next by Date: How Expand?
  • Previous by thread: Re: Getting the Derivative of an HoldForm Expression
  • Next by thread: How Expand?