Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm attempting to generate some histograms, and I'd like to automatically label the X-axis. However, Histogram[. . ., AxesLabel -> {"X", "Y"}] places the "X" label on the RHS of the axis. How do I direct that the "X" label should be positioned below the axis? I need some automated method (I can of course move it by hand), since I'm going to be generating hundreds of diagrams.

share|improve this question
up vote 5 down vote accepted

You can use Frame->True

Histogram[{1, 2, 3}, Frame -> True, FrameLabel -> {{"Y", None}, {"X", "my histogram"}}, 
  RotateLabel -> False]

Mathematica graphics

share|improve this answer
Sorry I neglected accepting your answer for so long - I was traveling and unable to access the net. – Roger Harris Jan 8 '13 at 3:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.