PLOT.SEISN(RSEIS)
PLOT.SEISN()所属R语言包:RSEIS
Plot Seismic Section
图地震剖面
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Seismic traces are plotted on a panel horizontally.
地震轨迹绘制在面板上的水平。
用法----------Usage----------
PLOT.SEISN(GH, tim = 1, dt = 1, sel =c(1:4) , WIN =c(1,0) , labs
=c("CE1") , notes = "CE1.V", subnotes=NA, tags ="CE1.V" , sfact = 1, LOG = "", COL = 'red', add = 1, pts = FALSE, YAX = 1, TIT = NULL, SHIFT = NULL, rm.mean = TRUE, UNITS = "volts", MARK = TRUE, xtickfactor = 1)
参数----------Arguments----------
参数:GH
RSEIS data structure
RSEIS数据结构
参数:tim
tim axis vector, seconds
添轴矢量,秒
参数:dt
deltaT, sample rate
DeltaT的单位,采样率
参数:sel
select which traces from GH
选择从GH的痕迹
参数:WIN
initial time window for plot
对图的起始时间窗口
参数:labs
character string vector, labels for units on y-axes, depends on YAX
字符串向量,单位y轴的标签,取决于YAX
参数:notes
character string vector, labels on upper right of each panel
字符串向量,每个面板右上角的标签
参数:subnotes
character string vector, labels on lower-right of each panel
字符串向量,每个面板的右下角的标签
参数:tags
character string vector, labels next to right end of trace (usually numbers)
字符串向量,标签旁边的右端跟踪(通常是数字)
参数:sfact
scaling flag, 1=scale individually(DEFAULT), 2 = scale by window
缩放标志,1 =个别规模(默认),2 =比例由窗口
参数:LOG
log for x-axis
登录为x轴
参数:COL
color vector for plotting traces
颜色矢量绘图痕迹
参数:add
integer: add to plot=1,2,3, add=1 plot and add traces, add =2 plot, but no traces, add = 3 no plot, but add traces
整数绘制= 1,2,3,添加= 1图,并添加痕迹,添加= 2图,但没有痕迹,添加= 3没有图,但添加的痕迹
参数:pts
add points
加分
参数:YAX
type of Yaxis label, 1,2,3 DEFAULT=1 only one y-axis others scaled; 2=all y-axes are plotted on left; 3=all y-axes plotted, alternating left and right
Y轴标签的类型,1,2,3 DEFAULT = 1,只有一个y轴缩放人,2 = y轴绘制在左边; 3 = y轴绘制,交替向左和向右
参数:TIT
title
标题
参数:SHIFT
vector, shift each trace along x-axis by associated moveout time
矢量,转移相关的时差时沿x轴的每个跟踪
参数:rm.mean
remove mean from traces
删除是指从痕迹
参数:UNITS
character, units of traces (see labs)
字符的痕迹,单位(见实验室)
参数:MARK
character marking for earthquake
字符标记为地震
参数:xtickfactor
Factor for multiplying the x-axis tick markers (default=1; for minutes=60, hrs=3600, days=24*3600)
因子相乘的x轴刻度标记(默认为1分钟= 60小时= 3600天= 24 * 3600)
Details
详细信息----------Details----------
panel of N traces are plotted. For YAX, default is YAX=1, plot an axis with no units label and scale all the traces to
面板的N痕迹绘制。 YAX,默认情况下是YAX = 1,绘制轴,任何单位标签和缩放所有的痕迹
值----------Value----------
Graphical Side effect. list(n=nn, dy=dy, minS=minS, maxS=maxS, meanS=meanS, DX=range(tim[tflag]) )
图形化的副作用。列表(N = NN,DY = DY分钟=分钟,MAXS MAXS,是指=表示,DX =范围(TIM [tflag]))
(作者)----------Author(s)----------
Jonathan M. Lees<jonathan.lees.edu>
参见----------See Also----------
swig
痛饮
实例----------Examples----------
data("GH")
m = match( GH$STNS, GH$stafile$name)
LATS = GH$stafile$lat[m]
LONS = GH$stafile$lon[m]
dees = rdistaz( GH$pickfile$LOC$lat, GH$pickfile$LOC$lon, LATS, LONS)
sel = which(GH$COMPS=="V")
sel = sel[order(dees$dist[sel])]
### set up good colors[##建立了良好的色彩]
pcols = seiscols(GH)
### select only vertical components[##只选择垂直分量]
PLOT.SEISN(GH, sel=sel)
GH$units = rep("m/s", times=length(GH$KNOTES))
GH$pcols = pcols
###### simple plot of GH structure[#####图简单的GH结构]
YN = PLOT.SEISN(GH, WIN=c(5,12))
###### a color must be provided for all traces.[#####a的颜色,必须提供可用于所有的痕迹。]
###### simple plot of GH structure, with selection and colors[#####GH结构,图简单的选择和颜色]
YN = PLOT.SEISN(GH, WIN=c(5,12), sel=sel, COL=rainbow(length(sel)) )
#### alternating Y axes[###交替的Y轴]
YN = PLOT.SEISN(GH, WIN=c(5,12) , dt=GH$dt[sel], sel=sel, sfact=1 ,
notes=GH$KNOTES[sel], YAX =3, UNITS = TRUE ,labs = GH$units[sel],
COL=pcols , TIT="test")
#### Y axes on same side[###Y轴在同一侧]
YN = PLOT.SEISN(GH, WIN=c(5,12) , dt=GH$dt[sel], sel=sel, sfact=1 ,
notes=GH$KNOTES[sel], YAX =2, UNITS = TRUE ,labs = GH$units[sel],
COL=pcols , TIT="test")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|