(Plots) how to set color of y-axis border and ticks

using Plots;gr()

x=rand(10)
p = plot(x,xlabel="x axis",ylabel="y axis", lc=:blue, lw=3)
plot!(x_guidefontcolor=:red, y_guidefontcolor=:green)
plot!(x_foreground_color_axis=:red, y_foreground_color_axis=:green)
plot!(x_foreground_color_text=:red, y_foreground_color_text=:green)
plot!(x_foreground_color_border=:red, y_foreground_color_border=:green)

Plots_gr_colored_axis_and_labels

3 Likes