# How to rotate the z label in 3D plots

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.

• 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

## 1 Answer

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]

• For better readability of the label you should rotate it by Pi/2. – Kardashev3 Nov 13 '13 at 11:29