2013-07-29 302 views

回答

0

低於標準桿: 我只是拿起自帶的twoord.plot包隨機情節。

x <- rnorm(100,100,10) 

首先,你需要旋轉Y軸:

par(las = 1) # rotates the y axis values for every plot you make from now on unless otherwise specified 

接下來,畫出你的圖沒有Y軸:

plotH(x,x,yaxt = 'n') # no Y axis 

然後,你需要添加Y軸

axis(2,cex.axis = 0.5) # where 2 specifies the Y axis and 0.5 is half (0.5) of the font size as before.