看板 Statistics 關於我們 聯絡資訊
※ 引述《bcs (= ="frailty..gggg XD)》之銘言: : par(mfrow=c(1,2 )) : poly1 <-function(x, y){x^2 + x * y + y^2} : y <- x <- seq(-25, 25, length = 50) : z<-outer(x,y,FUN=poly1) : persp(x,y,z) : contour(z) : 繪圖的左方persp在加入contour後被壓縮,請問 : 該在par裡面該加什麼指令,才能讓persp的圖不會 : 被壓縮或是把他拉長也行? : 謝謝 想到一個方法:圖檔另存成 pdf file,可調整圖形大小 example: pdf(file="ex.pdf"), width = 4, height = 4) # [your program] dev.off() -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 164.107.209.179
LITTLEN:強! 02/20 08:11
showfeb:par(mfrow=c(1,2),pty='s') 02/27 00:20