maLegendLines(marray)
maLegendLines()所属R语言包:marray
Add a legend to a plot
添加图例图
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function may be used to add a legend for lines in plots such as those produced by plot, maPlot, or maPlot.func.
此功能可用于添加一个传说,如plot生产的图线maPlot或maPlot.func。
用法----------Usage----------
maLegendLines(legend="", col=2, lty=1, lwd=2.5, ncol=1, ...)
参数----------Arguments----------
参数:legend
A vector of "character" strings to appear in the legend.
传说中的“字符”字符串向量出现。
参数:col
Line colors for the legend.
传说中的线条颜色。
参数:lty
Line types for the legend.
传说中的行类型。
参数:lwd
Line widths for the legend.
传说中的线条宽度。
参数:ncol
The number of columns in which to set the legend items (default is 1, a vertical legend).
数列在其中设置图例项(默认为1,一个垂直的传说)。
参数:...
Optional graphical parameters, see par.
可选的图形参数,请参阅par。
值----------Value----------
A function with bindings for legend, col, lty, lwd, ncol, and .... This latter function takes as arguments x and y, the coordinates for the location of the legend on the plot, and it adds the legend to the current plot.
与legend,col,lty,lwd,ncol,...绑定功能。后者函数作为参数需要x和y“的传说图的位置坐标,它的传奇添加到目前积。
作者(S)----------Author(s)----------
Sandrine Dudoit, <a href="http://www.stat.berkeley.edu/~sandrine">http://www.stat.berkeley.edu/~sandrine</a>.
参考文献----------References----------
参见----------See Also----------
legend, maPlot, maPlot.func.
legend,maPlot,maPlot.func。
举例----------Examples----------
# See examples for maPlot.[请参阅maPlot例子。]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|