Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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

plot

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
1  
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
1  
@cormullion I meant Rotate. Thanks for the correction! I also updated my question. –  Vaggelis_Z Nov 13 '13 at 12:23
add comment

1 Answer 1

up vote 6 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
2  
For better readability of the label you should rotate it by Pi/2. –  Kardashev3 Nov 13 '13 at 11:29
add comment

Your Answer

 
discard

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.