找回密码
 注册
查看: 629|回复: 0

R语言 flowViz包 flowViz.par.get()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 18:13:56 | 显示全部楼层 |阅读模式
flowViz.par.get(flowViz)
flowViz.par.get()所属R语言包:flowViz

                                         Query and set session-wide graphical parameter defaults.
                                         查询和设置会话范围的图形参数默认。

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

flowViz.par.get is the equivalent to trellis.par.get. It queries the session wide defaults for all lattice and flowViz graphical parameters.
flowViz.par.get是trellis.par.get的等效。查询会话宽默认为所有的lattice和flowViz图形参数。

flowViz.par.set is the equivalent to trellis.par.set. It sets the same set of graphical parameters, either in the flowViz package or directly in lattice.
flowViz.par.set是trellis.par.set的等效。它设置在同一组的图形参数,无论是在flowViz包,或直接在lattice。


用法----------Usage----------



flowViz.par.get(name = NULL)

flowViz.par.set(name, value, ..., theme, warn = TRUE, strict = FALSE)




参数----------Arguments----------

参数:name
The name of a parameter category to set.  
设置一个参数的类的名称。


参数:value
A named list of values to set for category name or a list of such lists if name is missing.   
一个名为值列表类name或此种列表列表设置name如果缺少。


参数:...
Further arguments that get passed on.  
获得通过的“关于进一步论据。


参数:theme
The theme to set. See trellis.par.set for details.  
主题设置。看到trellis.par.set详情。


参数:warn
This gets passed on directly to trellis.par.set.  
这传递直接trellis.par.set。


参数:strict
This gets passed on directly to trellis.par.set.  
这传递直接trellis.par.set。


Details

详情----------Details----------

Getting and setting graphical parameters in flowViz follows exactly the mechanism of the lattice package. For all purpose and intentions, flowViz.par.get and flowViz.par.get can be viewed as wrappers around their lattice counterparts trellis.par.get and trellis.par.set and you should consult their documentation for further details.
flowViz获取和设置图形参数遵循完全lattice包的机制。所有的目的和意图,flowViz.par.get和flowViz.par.getlattice同行可以作为包装查看周围trellis.par.get和trellis.par.set进一步的细节,你应该咨询文件。

We introduce four new categories of graphical parameters that are relevant for flowViz plots:
我们推出四个新的类别是flowViz图有关的图形参数:




gate Controls the appearance of gate boundaries in xyplots (if smooth=TRUE) or of the points within a gate region (smooth=FALSE).  Available parameters are col, cex,pch,alpha,lwd,lty and
门控制闸门边界出现在xyplots(如果smooth=TRUE)或门区域内的点(smooth=FALSE)。可用参数col,cex,pch,alpha,lwd,lty“




gate.density Controls the appearance of gate boundaries in densityplots.  Available parameters are col,
gate.density控制闸门边界出现在densityplots。可用参数col




flow.symbol Controls the appearance of 'regular' points in a flowViz plot.  Available parameters are col,
外观的“常规”点flowViz图flow.symbol控制。可用参数col




gate.text Controls the appearance of the text used for gate names.  Available parameters are col,
gate.text控制门的名称使用的文字外观。可用参数col


值----------Value----------

flowViz.par.get returns a list of graphical parameter defaults, if name is not empty, only for this particular category. For an empty name argument, the function returns all parameter defaults, including the ones specified in the lattice package.
flowViz.par.get返回一个图形参数默认列表,如果name是不是空的,只有这一特定类别。对于一个空name参数,函数返回所有参数的默认值,包括在格包中指定的。

flowViz.par.set is called for its side-effects of setting default parameters.
flowViz.par.set被称为其设置的默认参数的副作用。


注意----------Note----------

Because parameter settings in lattice are device-dependent, flowViz.par.get will open a (default) device none is open at the time of the query.
由于参数设置lattice是依赖于设备,flowViz.par.get将打开设备没有一个(默认)在查询的时间是开放的。“


作者(S)----------Author(s)----------


F. Hahne



参考文献----------References----------

Springer, New York, 2008

参见----------See Also----------

trellis.par.get and trellis.par.set
trellis.par.get和trellis.par.set


举例----------Examples----------



## Return all available parameters, including lattice ones[#返回所有可用的参数包括晶格的,]
flowViz.par.get()

## Set the font for gate names [#设置门名称的字体]
flowViz.par.set("gate.text", list(font=2))

## Query only the gate.text category[#查询只gate.text的类别]
flowViz.par.get("gate.text")

## Set a lattice parameter[#设置一个晶格参数]
plot.symbol <- trellis.par.get("plot.symbol")
flowViz.par.set("plot.symbol", list(col="red"))
trellis.par.get("plot.symbol")

## undo all settings[#撤消所有设置。]
flowViz.par.set(list(plot.symbol=plot.symbol, gate.text=list(font=1)))


转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-8 15:31 , Processed in 0.020890 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表