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.

Instead of adding AxesLabel -> {x, y, z} every time to code in order that the axes appear, how can I make Mathematica display the axes by default?

Also, how can I get Mathematica to display the axes, by default, as they are shown in the following image? I want to obviate having to by rotate my images manually every time Mathematica makes its initial display.

enter image description here

share|improve this question
    
Look up SetOptions and ViewPoint or ViewMatrix. And in my book your coordinate system is right-handed. –  Yves Klett Oct 15 '13 at 6:15
    
wikipedia agrees with your book, @yvesklett. –  cormullion Oct 15 '13 at 6:39

1 Answer 1

up vote 3 down vote accepted

I´ll bite after some deliberation, since this might actually be useful for future searches:

SetOptions[Graphics3D, Axes -> True, AxesLabel -> {"x", "y", "z"}, 
  Boxed -> False, ViewPoint -> 2 {1, 0, 0}, ViewVertical -> {0, 0, 1}];

Graphics3D[Arrow[{0 #, #}] & /@ IdentityMatrix[3]]

Mathematica graphics

You will have to choose your ViewPoint or ViewMatrix parameters according to the kind of projection you are after (I suspect you are after some kind of parallel projection). The placing of the actual Axes is a bit idiosyncratic and not always what one would expect, but you can roll your own axes if you want to.

share|improve this answer

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.