0

I have a five plots which contain 4 lines (two of them are below):

g1<-ggplot(df)+geom_line (aes(x=Time, y=z1, color="a"))+geom_line (aes(x=Time, y=z6, color="b"))+
  geom_line (aes(x=Time, y=z11, color="c"))+geom_line (aes(x=Time, y=z16, color="d"))+
  scale_color_discrete(name="")+labs(title="")

g2<-ggplot(container)+geom_line (aes(x=Time, y=z2, color="a"))+geom_line (aes(x=Time, y=z7, color="b"))+
  geom_line (aes(x=Time, y=z12, color="c"))+geom_line (aes(x=Time, y=z17, color="d"))+
  scale_color_discrete(name="")+labs(title="")

Now I want to order it in a column with common x axis and separate y axes. Just like in the post. However, I can not find the solution.

Dmitry Senkovich
  • 4,941
  • 7
  • 30
  • 65
Nikola
  • 13
  • 3

0 Answers0