grid.get(grid)
grid.get()所属R语言包:grid
Get a Grid Graphical Object
获取网格图形对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Retrieve a grob or a descendant of a grob.
检索GROB,或GROB的后裔。
用法----------Usage----------
grid.get(gPath, strict = FALSE, grep = FALSE, global = FALSE,
allDevices = FALSE)
grid.gget(..., grep = TRUE, global = TRUE)
getGrob(gTree, gPath, strict = FALSE, grep = FALSE, global = FALSE)
参数----------Arguments----------
参数:gTree
A gTree object.
一个gTree对象。
参数:gPath
A gPath object. For grid.get this specifies a grob on the display list. For getGrob this specifies a descendant of the specified gTree.
gPath对象。 grid.get指定了一个显示列表的GROB。 getGrob指定一个的指定gTree的后裔。
参数:strict
A boolean indicating whether the gPath must be matched exactly.
一个布尔值,指示的gPath是否必须完全匹配。
参数:grep
A boolean indicating whether the gPath should be treated as a regular expression. Values are recycled across elements of the gPath (e.g., c(TRUE, FALSE) means that every odd element of the gPath will be treated as a regular expression).
一个布尔值,指示是否应作为一个正则表达式处理gPath。跨元素回收值gPath(例如,c(TRUE, FALSE)意味着奇数每gPath的元素将作为一个正则表达式处理)。
参数:global
A boolean indicating whether the function should affect just the first match of the gPath, or whether all matches should be affected.
一个布尔值,指示的功能是否应该只是第一场比赛的影响gPath,或是否应受所有比赛。
参数:allDevices
A boolean indicating whether all open devices should be searched for matches, or just the current device. NOT YET IMPLEMENTED.
一个布尔值,指示是否所有开放的设备应匹配搜索,或只是当前设备。尚未实施。
参数:...
Arguments that are passed to grid.get.
参数被传递到grid.get。
Details
详情----------Details----------
grid.gget (g for global) is just a convenience wrapper for grid.get with different defaults.
grid.gget(g全球)仅仅是一个不同的默认值grid.get方便的包装。
值----------Value----------
A grob object.
一个GROB对象。
作者(S)----------Author(s)----------
Paul Murrell
参见----------See Also----------
grob, getGrob, addGrob, removeGrob.
grob,getGrob,addGrob,removeGrob。
举例----------Examples----------
grid.xaxis(name="xa")
grid.get("xa")
grid.get(gPath("xa", "ticks"))
grid.draw(gTree(name="gt", children=gList(xaxisGrob(name="axis"))))
grid.get(gPath("gt", "axis", "ticks"))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|