Changing default parameters

You can use the default function available with Plots.jl:

https://docs.juliaplots.org/latest/api/#Plots.default

Just put your preferred settings in this function, and it will set them as the defaults for your session:

default(width=2, xtickfontsize=12, ytickfontsize=12, legendfontsize=12)

2 Likes