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

R语言 sound包 plot.Sample()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 12:05:16 | 显示全部楼层 |阅读模式
plot.Sample(sound)
plot.Sample()所属R语言包:sound

                                        Plot a Sample Object
                                         绘制一个示例对象

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

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

Plot the waveform of a Sample object or a wav file.
绘制一个的样本对象或一个wav文件的波形。


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


plot(x,xlab="sample #",ylab=NULL,...)



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

参数:x
a Sample object, or a string giving the name of a wav file. If x is a string, the explicit form plot.Sample must be used.
样品对象,或者一个字符串,给出一个wav文件的名称。如果x是一个字符串,明确的形式plot.Sample必须使用。


参数:xlab
the character string giving the label for the x-axis.
给人的x-轴的标签的字符串。


参数:ylab
For mono Sample objects as usual. For stereo Sample objects, ylab can be a vector of two strings to distinguish the y-labels for the left and the right channel. If ylab=NULL, the presets are used, that is "waveform" for mono samples and c("left","right") for stereo samples.
对于单声道采样对象,像往常一样。对于立体声Sample对象,ylab可以区分的y标签用于左声道和右声道的两个字符串的矢量。如果ylab=NULL,使用的预设,那就是"waveform"单样本和c("left","right")立体声采样。


参数:...
further graphical parameters.
进一步的图形参数。


注意----------Note----------

Use plot(s[interval]) to plot parts of s only (see examples).
使用plot(s[interval])绘制部分s(见示例)。


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


Matthias Heymann



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

print.Sample
print.Sample


实例----------Examples----------


plot(s[1:1000])
play(s)
s <- normalize(s)
plot(s[1:1000])  # now the range of the waveform is in [-1,1][现在的范围内的波形是在[-1,1]]
play(s)  # no cracks![没有裂缝!]
## End(Not run)[#(不执行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-9 17:08 , Processed in 0.023950 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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