how to align different map

16 views
Skip to first unread message

duguyiw...@163.com

unread,
Dec 18, 2017, 10:28:01 AM12/18/17
to ggplot2


dear ggplot2 help:

    when I was plot a multi plot like this

but I've failed to align the x ticks as the left-top and the left-bottom plot

How could it be ?

I have tryed a script like grid.arrange(hist_top, empty, scatter, hist_right, ncol=2, nrow=2, widths=c(4,1), heights=c(1,4),align="v")

but it turns out Error: nrow * ncol >= n is not TRUE

thank you


Reply all
Reply to author
Forward
0 new messages