I have many ListPlot
and ListLinePlot
in my notebook.
I each command I have added PlotStyle -> Thick, AxesStyle -> Thick, FrameStyle -> Thick
.
How can I set these styles globally for all plots?
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 communityI have many ListPlot
and ListLinePlot
in my notebook.
I each command I have added PlotStyle -> Thick, AxesStyle -> Thick, FrameStyle -> Thick
.
How can I set these styles globally for all plots?
You could set it as :
plotset = {PlotStyle -> Thick, AxesStyle -> Thick,
FrameStyle -> Thick};
Plot[Sin[x], {x, -6, 6}, Evaluate@plotset]
ListPlot[{1, 2, 3, 4, 5}, Evaluate@plotset]
Also possible SetOptions[{Plot, ListPlot}, {PlotStyle -> Thick, AxesStyle -> Thick, FrameStyle -> Thick}]
Plot
but needs to be called again ListPlot
.
$\endgroup$
Apr 21, 2017 at 17:20
SetOptions[{Plot,ListPlot}, {PlotStyle -> Thick, AxesStyle -> Thick, FrameStyle -> Thick}]
$\endgroup$