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

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

[复制链接]
发表于 2012-2-16 21:01:31 | 显示全部楼层 |阅读模式
dev.capabilities(grDevices)
dev.capabilities()所属R语言包:grDevices

                                        Query Capabilities of the Current Graphics Device
                                         当前图形设备的查询功能

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

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

Query the capabilities of the current graphics device.
查询当前图形设备的能力。


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


dev.capabilities(what = NULL)



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

参数:what
a character vector partially matching the names of the components listed in section "Value", or NULL which lists all available capabilities.
字符向量部分匹配的“价值”一节中列出的组件的名称,或NULL,其中列出了所有可用的功能。


Details

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

The capabilities have to be specified by the author of the graphics device, unless they can be deduced from missing hooks.  Thus they will often by returned as NA, and may reflect the maximal capabilities of the underlying device where several output formats are supported by one device.
的能力,必须由指定的图形设备的作者,除非他们可以从失踪挂钩推导。因此,他们将经常被作为NA返回,并可能反映底层设备由一台设备支持多种输出格式的最大能力。

Most recent devices support semi-transparent colours provided the graphics format does (which PostScript does not).  On the other hand, relatively few graphics formats support (fully or semi-) transparent backgrounds: generally the latter is found only in PDF and PNG plots.
最近的设备支持半透明颜色的图形格式(哪个PostScript不)。另一方面,相对较少的图形格式的支持(完全或半)透明背景:一般后者则发现,只有在PDF和PNG图。


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

A list with some of all of the following components, any of which may be NA:
与所有下列组件的列表,这可能是任何NA:


参数:semiTransparency
logical:  Does the device support semi-transparent colours?
逻辑:设备支持半透明的颜色?


参数:transparentBackground
character:  Does the device support (semi)-transparent backgrounds?  Possible values are "no", "fully" (only full transparency) and "semi" (semi-transparent background colours are supported).
特点:设备的支持(半)透明背景?可能的值是"no","fully"(只完全透明)和"semi"(半透明的背景颜色都支持)。


参数:rasterImage
character: To what extent does the device support raster images as used by rasterImage and grid.raster?  Possible values "no", "yes" and "non-missing" (support only for arrays without any missing values).   
性格:在何种程度上的设备支持光栅图像由rasterImage和grid.raster?可能值"no","yes"和"non-missing"(只支持没有任何遗漏值的阵列)。


参数:capture
logical:  Does the current device support raster capture as used by grid.cap?
逻辑:当前设备支持栅格捕捉由grid.cap?


参数:locator
logical:  Does the current device support locator and identify?
逻辑:当前设备支持locator和identify?


参数:events
character:  Which events can be generated on this device? Currently this will be a subset of c("MouseDown",     "MouseMove", "MouseUp", "Keybd"), but other events may be supported in the future.   
性格:哪些事件可以在这个设备上产生的呢?目前,这将是一个c("MouseDown",     "MouseMove", "MouseUp", "Keybd")子集,但其他的事件可能会在未来的支持。


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

See getGraphicsEvent for details on interactive events.
看到getGraphicsEvent互动活动的详细信息。


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


dev.capabilities()

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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