Is there any way to make the y axis label horizontal in Plots.jl (with pyplot backend)?
Thanks
Is there any way to make the y axis label horizontal in Plots.jl (with pyplot backend)?
Thanks
Does yrotation
work?
yrotation
affects the tick marks, not the label.
Maybe This tweet solves our problem
See also
using Plots
using Plots.PlotMeasures: mm
plot(; size = (500, 300))
plot!(
x -> x^3 - 8 * x^2,
0,
10,
xlab = "abcde",
xrotation = 45,
left_margin = 10mm,
bottom_margin=5mm,
)
annotate!(-1.2, 0., text("goma", 10))