[問題] xyplot 文字大小調整

作者: decken (HAHAHA~)   2016-05-02 23:16:59
[問題類型]:
程式諮詢(我想用R 做某件事情,但是我不知道要怎麼用R 寫出來)
[軟體熟悉度]:
入門(寫過其他程式,只是對語法不熟悉)
[問題敘述]:
使用xyplot畫圖時,文字太大導致圖形太小
錯誤圖片:http://i.imgur.com/wpVk3T1.png?1
正確圖片:http://i.imgur.com/hj80j9x.png?1
Google了許久,找不到參數可以把圖形的範圍拉大,
不知道版友們有遇過類似的問題嗎?
謝謝~
[程式範例]:
data1 <-
read.table("C:/Users/YOUR_NAME/Desktop/lq.dat", header=T)
attach(data1)
library(package = "lattice")
xyplot(lq~timestamp|ip*neighbor, data=data1)
detach(data1)
====================================
lq.dat 下載 - https://goo.gl/WtFo3W
[環境敘述]:
R version 3.2.5 (2016-04-14)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=Chinese (Traditional)_Taiwan.950
[2] LC_CTYPE=Chinese (Traditional)_Taiwan.950
[3] LC_MONETARY=Chinese (Traditional)_Taiwan.950
[4] LC_NUMERIC=C
[5] LC_TIME=Chinese (Traditional)_Taiwan.950
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] lattice_0.20-33
loaded via a namespace (and not attached):
[1] grid_3.2.5
[關鍵字]:
xyplot 圖形大小

Links booklink

Contact Us: admin [ a t ] ucptt.com