I would like to use ListPlot
without Frame
. But AxesLabel
produces y-label above the y-axis and I want the label to be left from the axis like in FrameLabel
. How can I get it?
2 Answers
$\begingroup$
$\endgroup$
1
I've solved this by the following way:
ListPlot[list, PlotStyle -> Black,
LabelStyle -> Directive[FontFamily -> "Arial", Medium],
Frame -> True, FrameLabel -> {"xlabel", "ylabel"},
FrameStyle -> {{None, White}, {None, White}}]
Are there another ways?
-
1$\begingroup$ You could use
Transparent
instead ofWhite
. $\endgroup$ Commented Aug 17, 2015 at 12:48
$\begingroup$
$\endgroup$
list = RandomReal[{-10, 10}, {10, 2}];
You can selectively turn the Frame
elements on/off.
ListPlot[list, PlotStyle -> Black,
LabelStyle -> Directive[FontFamily -> "Arial", Medium],
Frame -> {{Automatic, None}, {Automatic, None}},
FrameLabel -> {"xlabel", "ylabel"}]
Note that the Axes
may still appear unless you explicitly turn them off.
ListPlot[list, PlotStyle -> Black,
LabelStyle -> Directive[FontFamily -> "Arial", Medium],
Axes -> False, Frame -> {{Automatic, None}, {Automatic, None}},
FrameLabel -> {"xlabel", "ylabel"}]
AxesLabel
butchersImageSize
as well, and from the answers so far there's no easy way to get what OP asks. $\endgroup$