1
$\begingroup$

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

$\endgroup$
  • $\begingroup$ Look up SetOptions and ViewPoint or ViewMatrix. And in my book your coordinate system is right-handed. $\endgroup$ – Yves Klett Oct 15 '13 at 6:15
  • $\begingroup$ wikipedia agrees with your book, @yvesklett. $\endgroup$ – cormullion Oct 15 '13 at 6:39
3
$\begingroup$

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.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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