看板 R_Language 關於我們 聯絡資訊
我想請問一下 在開始繪圖前使用par(mfrow=c(3,1))或是使用 layout()參數來畫圖時 有沒有辦法指定開始畫圖的起始點,譬如說我用 layout(matrix(1:4,2,2)) plot(1) plot(2) plot(3) plot(4) 他會從我的矩陣左上角開始畫圖 順序如下 1 3 2 4 但我想要從右下角開始畫 2 4 3 1 有辦法做到這樣嗎? -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.114.53.209 ※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1493029770.A.C70.html
HumuHumu: 剛發完文就找到解法了 layout(matrix(c(2,3,4,1),2,2)) 04/24 18:35
HumuHumu: 就可以了 04/24 18:35