I'd like to draw a plot with the $x$ and $y$ axes labeled outside the plot and along the axes (with $y$ axis rotated)--not at the end of each axis--as in this Matlab plot. Moreover, I do not want to use a Frame.
(Ignore the Title.)
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 communityYou can mimic a plot without a frame using Frame -> {{True, False}, {True, False}}
:
Plot[x, {x, 0, 1},
FrameLabel -> {{"y-Label", None}, {"x-Label", None}},
Frame -> {{True, False}, {True, False}}]
You can also use Labeled
:
Labeled[Plot[x, {x, 0, 1}],
{"x-Label", "y-Label"},
{Bottom, Left},
RotateLabel -> True]
Plot[x, {x, 0, 1}, FrameLabel -> {{"y-Label", None}, {"x-Label", None}}, Frame -> {{True, False}, {True, False}}]
give what you need? $\endgroup$Labeled[Plot[x, {x, 0, 1}], {"x-Label", "y-Label"}, {Bottom, Left}, RotateLabel -> True]
? $\endgroup$