NCEP.vis.area(RNCEP)
NCEP.vis.area()所属R语言包:RNCEP
Visualize Weather Data on a Map
在图上的天气数据可视化
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function creates a filled contour map from weather data. It visualizes data from a single layer (i.e. timestep) of a data array as returned by NCEP.gather or a single aggregated layer as returned by NCEP.aggregate
这个函数创建一个填充的等高线图,从天气数据。可视化数据从一个单一的数据阵列层(即时间步长)返回的NCEP.gather或一个聚合层返回NCEP.aggregate
用法----------Usage----------
NCEP.vis.area(wx.data, layer=1, show.pts=TRUE, draw.contours=TRUE,
cols=heat.colors(64), transparency=.5, axis.args=NULL, map.args=NULL,
grid.args=NULL, title.args=NULL, interp.loess.args=NULL,
image.plot.args=NULL, contour.args=NULL, points.args=NULL)
参数----------Arguments----------
参数:wx.data
A 3-D array of weather data as returned by NCEP.gather or NCEP.aggregate
A 3-D数组返回的气象资料,NCEP.gather或NCEP.aggregate
参数:layer
Either a numerical indication of the layer (default is the first layer) or a character expression of the datetime of a particular layer.
无论是数字显示层(默认是第一层)或某个层的字符表达式中的日期时间。
参数:show.pts
Logical. Should the points at which data were obtained be plotted?
逻辑。如果点获得的数据绘制吗?
参数:draw.contours
Logical. Should the map include contour lines?
逻辑。如果图包括等高线?
参数:cols
A vector of colors such as that generated by rainbow, heat.colors, topo.colors, terrain.colors, or similar functions indicating the colors of the filled contours on the map.
一个向量的颜色,如所产生的rainbow,heat.colors,topo.colors,terrain.colors,或类似的功能,显示的颜色在图上的填充轮廓。
参数:transparency
A numeric value between 0 and 1 indicating the transparency of the filled contours on the map.
之间的数值0和1表示填充在图上的轮廓的透明度。
参数:axis.args
A list of arguments controlling the drawing of axes. See axis for acceptable arguments and the examples below for a demonstration.
控制图轴的参数列表。见axis可接受的参数和下面的例子示范。
参数:map.args
A list of arguments controlling the drawing of the map. See map for acceptable arguments and the examples below for a demonstration.
控制绘制的图的参数列表。见map可接受的参数和下面的例子示范。
参数:grid.args
A list of arguments controlling the drawing of the lat/long grid lines. See abline for acceptable arguments and the examples below for a demonstration.
纬度/经度网格线控制图的参数列表。见abline可接受的参数和下面的例子示范。
参数:title.args
A list of arguments controlling the how titles and axis lables are written. See title for acceptable arguments and the examples below for a demonstration.
控制如何标题和轴标贴的参数列表被写入。见title可接受的参数和下面的例子示范。
参数:interp.loess.args
A list of arguments controlling the interpolation between grid points. See interp.loess for acceptable arguments and the examples below for a demonstration.
控制网格点之间的插值参数列表。见interp.loess可接受的参数和下面的例子示范。
参数:image.plot.args
A list of arguments controlling the plotting of the filled contour surface, the color-bar legend, and the legend axis and labels. See image.plot for acceptable arguments and the examples below for a demonstration.
控制绘制填充的轮廓面,彩条传说,传说中轴线和标签的参数列表。见image.plot可接受的参数和下面的例子示范。
参数:contour.args
A list of arguments controlling the drawing of contour lines. See contour for acceptable arguments and the examples below for a demonstration.
控制等高线图的参数列表。见contour可接受的参数和下面的例子示范。
参数:points.args
A list of arguments controlling the plotting of grid points. See points for acceptable arguments and the examples below for a demonstration.
控制绘制网格点的参数列表。见points可接受的参数和下面的例子示范。
Details
详细信息----------Details----------
If the specification of layer is not numeric, it must specify a layer by a character expression of its datetime using the format "%Y-%m-%d %H". Leading zeros in the month, day, and hour components must be given (e.g. "2006-01-01 06")
如果layer规范是不是数字,则必须指定一个层,它的DateTime使用的格式"%Y-%m-%d %H"的字符表达。必须给予中的前导零,月,日,小时组件(例如"2006-01-01 06")
If the data array has been aggregated in some way, the datetime dimension may no longer contain information on one or more temporal component: year, month, day, or hour. In this case, replace missing datetime componets with "XX" or "XXXX" (e.g. "XXXX-01-XX XX") when specifying a layer by a character expression of its datetime. Use dimnames to see the datetime dimension labels.
如果数据阵列已经以某种方式合并,日期时间维度可能不再包含一个或更多的时间组件:年,月,日,或一小时的信息。在这种情况下,替换丢失的日期时间COMPONETS与"XX"或"XXXX"(如:"XXXX-01-XX XX")指定一个层时,其日期时间的字符表达式。使用dimnames看到的日期时间标注标签。
If the geographical area to be plotted contains no landmass, the plot will exhibit a small unfilled border.
如果要绘制不包含大陆的GEO区域,该图将出现一个小的未填充的边界。
Most of the components of a plot produced by this function can be controlled by supplying a list of arguments to the embedded function that produces the particular component of the plot. For example, the text and size of the plot's title can be controlled by specifying a list of acceptable arguments to title.args. Similarly, the axes, map, and grid lines are controlled by specifying a list of acceptable arguements to axis.args, map.args, and grid.args, respectively. Through the argument image.plot.args the user can control the plotting of the filled contour surface, the color-bar legend, and the color-bar's title and axis labels. A list of arguments passed to interp.loess.args controls the interpolation of the filled-contour surface. See the examples below for a demonstration of how to apply these different arguments.
大部分此函数所产生的曲线图的组件可以通过以下来控制供给的参数列表,嵌入的函数,该函数产生的特定成分的图。例如,文本和大小的图的标题可以被控制通过指定title.args可接受的参数列表。同样,轴,图,网格线控制通过可接受的还要争拗axis.args,map.args和grid.args,分别指明一个列表。通过参数image.plot.args用户可以控制绘制填充的轮廓面,彩条传说,彩条的标题和轴标签。的参数传递interp.loess.args的一个列表控制的插值填充轮廓表面。下面的例子演示了如何应用这些不同的参数。
值----------Value----------
A plot is produced. No data are returned.
有一个图是。返回任何数据。
(作者)----------Author(s)----------
Michael U. Kemp <a href="mailto:M.U.Kemp@UvA.nl">M.U.Kemp@UvA.nl</a>
参考文献----------References----------
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|