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

R语言 Rgraphviz包 AgNode-class()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-22 21:03:07 | 显示全部楼层 |阅读模式
AgNode-class(Rgraphviz)
AgNode-class()所属R语言包:Rgraphviz

                                        Class "AgNode": A class to describe a node for a Ragraph object
                                         “AgNode类:A类来形容为Ragraph对象的节点

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

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

This class is used to represent nodes for the Ragraph class.  One can retrieve various pieces of information
这个类是用来表示类节点为Ragraph。一个可以检索各种信息


类的对象----------Objects from the Class----------

Objects can be created by calls of the form new("AgNode", ...).
创建对象可以通过电话的形式new("AgNode", ...)。


插槽----------Slots----------




center: Object of class "xyPoint": The center
center:Object类的"xyPoint":该中心




name: Object of class "character": The name of
name类"character":名称:对象




txtLabel: Object of class "AgTextLabel": Label
txtLabel:对象类的标签:"AgTextLabel"




height: Object of class "integer": Height of
height:高度:类"integer"对象




rWidth: Object of class "integer": The right
rWidth:Object类的"integer":权




lWidth: Object of class "integer": The left
lWidth:Object类的"integer":左




color: Object of class "character": The drawing
color:绘图:类"character"对象




fillcolor: Object of class "character": The
fillcolor:Object类的"character":




shape: Object of class "character": The shape
shape:对象的形状:类"character"




style: Object of class "character": The style
style:Object类的"character":样式


方法----------Methods----------




color signature(object = "AgNode"): Retrieves the
颜色signature(object = "AgNode"):检索




fillcolor signature(object = "AgNode"): Retrieves the
fillcolorsignature(object = "AgNode"):检索




getNodeCenter signature(object = "AgNode"): Returns
getNodeCentersignature(object = "AgNode"):返回




getNodeXY signature(object = "AgNode"): Returns the center as a two element list, with the first element containing
getNodeXYsignature(object = "AgNode"):返回中心,作为两个元素的列表包含元素




getNodeHeight signature(object = "AgNode"): Returns
getNodeHeightsignature(object = "AgNode"):返回




getNodeLW signature(object = "AgNode"): Returns the
getNodeLWsignature(object = "AgNode"):返回




getNodeRW signature(object = "AgNode"): Returns the
getNodeRWsignature(object = "AgNode"):返回




name signature(object = "AgNode"): Retrieves the name
名称signature(object = "AgNode"):检索名称




shape signature(object = "AgNode"): Returns the shape
形状signature(object = "AgNode"):返回的形状




style signature(object = "AgNode"): Returns the style
风格signature(object = "AgNode"):返回风格




txtLabel signature(object = "AgNode"): Retrieves the
txtLabelsignature(object = "AgNode"):检索


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


Jeff Gentry



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

Ragraph
Ragraph


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


V <- letters[1:10]
M <- 1:4
g1 <- randomGraph(V, M, .2)
z <- agopen(g1,name="foo")
x &lt;- AgNode(z) ## list of AgNode objects[#AgNode对象名单]
vv <- x[[1]]

## The methods in use[#使用方法]
color(vv)
fillcolor(vv)
getNodeCenter(vv)
getNodeXY(vv)
getNodeHeight(vv)
getNodeLW(vv)
getNodeRW(vv)
name(vv)
shape(vv)
style(vv)
txtLabel(vv)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-4-21 20:28 , Processed in 0.021924 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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