How can I add a superscript
to the y-axis
label in R? I tried bquote
, but it does not do anything.
ggplot(df, aes(Date)) +
geom_line(aes(y = OUT_SNOW_F, colour = "Flux")) +
scale_color_manual(values = c("Orange")) +
ylab("Snow Flux (W/m^2)") +
labs(color = "Legend") +
ggtitle("Title")