[问题类型]:
程式咨询(我想用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 图形大小