标签: r plot ggplot2
考虑以下情节:
ggplot(data.frame(x=c(-3, +3)), aes(x)) + stat_function(fun=function(x) 4*x^(1/2)) + stat_function(fun=function(x) x^2)
我想在当前情节中添加一个轴。使用标准graphics包,可以使用axis()
graphics
axis()
是否可以在ggplot2中重现axis()?