📜  绘制两个变量 - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:52:00.362000             🧑  作者: Mango

代码示例1
ggplot(test_data, aes(date)) + 
  geom_line(aes(y = var0, colour = "var0")) + 
  geom_line(aes(y = var1, colour = "var1"))