Try:
df2$is.colC <- df2$variable == "colC"
ggplot(df2, aes(x=x, y=value, colour=variable)) + geom_line() +
facet_wrap( ~ is.colC, ncol=1, scales="free")
We just add a new variable that highlights whether the row is a "colC" row, and facet on that.
And the data for reference:
set.seed(1)
x <- 1:10
colA <- runif(10)
colC <- runif(10)
colB <- runif(10)
df <- data.frame(x, colA, colB, colC)
df2 <- melt(data=df, id.vars="x")