Skip to content
Back to formatted view

Raw Message

Message-ID: <1264450772.6793560.1461189703268.JavaMail.yahoo@mail.yahoo.com>
Date: 2016-04-20T22:01:43Z
From: Elahe chalabi
Subject: overlay two facet_grid

Hi all,
Does anyone know how to overlay two facet_grids? I have two facet grids as following:


ggplot(data=df,aes(x=TE,y=TR,color="orange"))+geom_point()+facet_grid(FS+TRJ~OR+INV,labeller=label_both)+xlim(0,200)+ylim(0,10000)
ggplot(data=df,aes(x=TE,y=TR))+geom_point(aes(color=TST))+facet_grid(FS+TRJ~OR+INV,labeller=label_both)+xlim(0,200)+ylim(0,10000)

Thanks for any help!
Elahe