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

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

[复制链接]
发表于 2012-2-26 07:42:25 | 显示全部楼层 |阅读模式
plotView-class(MVCClass)
plotView-class()所属R语言包:MVCClass

                                        Class "plotView": A virtual class to represent a plot view
                                         类“plotView”的:一个虚拟的类代表一个图视图

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

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

plotView is a virtual class to represent a view that is a plot.  Any particular types of plots can inherit from this class.  For instance, sPlotView, is a class that inherits from plotView and represents a scatterplot view.
plotView是一个虚拟的类代表一种观点认为是一个图。任何特定类型的图可以从这个类继承。例如,sPlotView,是一个继承从plotView和代表散点图视图。


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

A virtual Class: No objects may be created
可以创建一个虚拟类:无对象


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




plotDevice: the plot device number
plotDevice:图设备




plotPar: the parameter list for the plot, see par()
plotPar:为小区的参数列表,请参阅(PAR)




drArea: an object of class "GtkDrawingArea"
drArea:一个对象类"GtkDrawingArea"




dataName: a character string describing what data are shown
dataName:一个字符串描述什么样的数据显示




win: an object of class "GtkWindow" that holds the
win:"GtkWindow"类的对象,持有




winNum: a number that tells what number view this is (for
winNum:一个数字,告诉这是什么数目(


延伸----------Extends----------

Class "genView", directly.
类"genView",直接。


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




drArea<- Sets the drArea slot
drArea < - 设置drArea插槽




drArea Returns the drArea slot
drArea返回drArea插槽




plotDevice<- Sets the plotDevice slot
plotDevice < - 设置plotDevice插槽




plotDevice Returns the plotDevice slot
plotDevice返回plotDevice插槽




plotPar<- Sets the plotPar slot
plotPar < - 设置plotPar插槽




plotPar Returns the plotPar slot
plotPar返回plotPar插槽

Also, all classes that inherit from plotView will have clickEvent and motionEvent methods.  The clickEvent method will be called whenever a user clicks on the plot and the motionEvent method will be called whenever a user moves the cursor over the plot.  These methods will be defined in packages that use this package, such as iSPlot and iSNetwork.  Note that the clickEvent method will also be defined for the spreadView class and this will correspond to a user selecting a row on the spreadsheet.
此外,所有类从plotView继承将有clickEvent和motionEvent方法。每当用户点击上图和motionEvent的方法将被调用的图,每当用户移动光标,将被称为clickEvent方法。包中,使用这个包,如iSPlot和iSNetwork的,这些方法将被定义。注意,clickEvent方法也将被定义为spreadView类,这将选择一个电子表格的行对应一个用户。


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


Elizabeth Whalen



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

genView-class, sPlotView-class
genView-class,sPlotView-class

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-2 21:50 , Processed in 0.029435 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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