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

Let's take the following simple and funny case

S0 = ParametricPlot3D[{t*Sin[t], t*Cos[t], t}, {t, -100, 100}, 
     BoxRatios -> {1, 1, 1}, AxesLabel -> {"x", "y", "a very long label"}, ImageSize -> 550]

which gives this


We see, that the label of the z axes is printed horizontally by default, thus wasting a lot of space. In two-dimensional plots however, this can be easily fixed with the option RotateLabel -> False. Is there something similar for three-dimensional plots for rotating and printing vertically the z label?

Many thanks in advance.

share|improve this question
You are aware of Rotate["a very long label", 90 Degree] right? – Öskå Nov 13 '13 at 11:23
@Öskå I am now! thanks. – Vaggelis_Z Nov 13 '13 at 11:26
"Rotate" or "Reverse"? – cormullion Nov 13 '13 at 11:39
@cormullion I meant Rotate. Thanks for the correction! I also updated my question. – Vaggelis_Z Nov 13 '13 at 12:23
up vote 7 down vote accepted

I think using 2D rotation is simplest solution:

S0 = ParametricPlot3D[{t*Sin[t], t*Cos[t], t}, {t, -100, 100},
BoxRatios -> {1, 1, 1},AxesLabel -> {"x", "y", Rotate["a very long label", 
1.7]},ImageSize -> 550]
share|improve this answer
For better readability of the label you should rotate it by Pi/2. – Kardashev3 Nov 13 '13 at 11:29

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.