i was wondering how it is possible to rotate the axesLabel of a Plot in Mathematica. Specifically i want to rotate the Label of the Y-Axis so that it shows up next to the axes to use up less space. Any suggestions?
Thanks in advance!
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communitySo what i found is usind the Labeled function.
For example
Labeled[Plot[Sin[t], {t, 0, 9}, AxesOrigin -> {0, 0}], {"Y axis", "X Axis"}, {Left, Bottom}, RotateLabel -> True]
I often use FrameLabel
in preference to axis labels. This might suit you better:
Plot[Sin[x], {x, 0, 2 \[Pi]}, Frame -> True, FrameLabel -> {"x-axis", "y-axis"}]