DTA.plot.it(DTA)
DTA.plot.it()所属R语言包:DTA
Plots in any format and any quality
图中的任何格式和任何质量
译者:生物统计家园网 机器人LoveR
描述----------Description----------
DTA.plot.it can save plots in any format and any quality in addition to show them in R devices
DTA.plot.it可以保存在任何格式和另外任何质量图,以显示他们在研发设备
用法----------Usage----------
DTA.plot.it(filename,sw = 1,sh = 1,sres = 1,plotsfkt,ww = 7,wh = 7,pointsize = 12,paper = "special",quality = 100,units = "px",bg = "white",fileformat = "jpeg",saveit = FALSE,notinR = FALSE,addformat = NULL)
参数----------Arguments----------
参数:filename
Name of the plot to be saved with the format type suffix.
图要保存的格式类型后缀名。
参数:sw
Scaling factor of weight.
缩放因子的重量。
参数:sh
Scaling factor of height.
高度的缩放因子。
参数:sres
Scaling factor of the resolution.
该决议的缩放因子。
参数:plotsfkt
Function of plots to be plotted.
图功能绘制。
参数:ww
Width of window. Needed only for plotting in R or if filformat = "pdf" or "ps"
窗口的宽度。只需要绘制在R或者filformat =“pdf”或“PS”
参数:wh
Height of window. Needed only for plotting in R or if filformat = "pdf" or "ps"
窗口的高度。只需要绘制在R或者filformat =“pdf”或“PS”
参数:pointsize
The default pointsize of plotted text, interpreted as big points (1/72 inch) for plots to be saved.
绘制文本的默认的pointsize,解释为要保存的图(1/72英寸)大点。
参数:paper
Needed only if filformat = "pdf" or "ps".
只有当需要filformat =“PDF”或“PS”。
参数:quality
Needed only if filformat = "jpeg".
只有当filformat =“jpeg”的需要。
参数:units
Needed only if filformat = "jpeg", "png", "bmp" or "tiff".
只需要filformat =“JPEG”,“PNG”,“BMP”或“TIFF”。
参数:bg
Backgroundcolor.
的backgroundColor。
参数:fileformat
Save the plot as jpeg, png, bmp, tiff, ps or pdf.
保存为JPEG,PNG,BMP,TIFF,PS或PDF的图。
参数:saveit
Should plot be saved.
图应该被保存。
参数:notinR
Should plot be not plotted in R.
图应该被绘制在R
参数:addformat
Should plot be saved additionally in another format.
图应该被保存此外,在另一种格式。
作者(S)----------Author(s)----------
Bjoern Schwalb <a href="mailto:schwalb@lmb.uni-muenchen.de">schwalb@lmb.uni-muenchen.de</a>
举例----------Examples----------
plotsfkt = function(){
par(mfrow = c(1,2))
plot(1:10)
plot(10:1)
}
DTA.plot.it(filename = "test",plotsfkt = plotsfkt,saveit = TRUE)
dev.off()
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|