ggplot2 :: ggplot2

时间:2017-10-18 23:03:24

标签: 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) 

parabola

我想在当前情节中添加一个轴。使用标准graphics包,可以使用axis()

是否可以在ggplot2中重现axis()

0 个答案:

没有答案