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

R语言:grid.get()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-16 21:16:05 | 显示全部楼层 |阅读模式
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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-3 04:42 , Processed in 0.020351 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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