pickgeom.m,v
来自「具有特色的地震数据处理源码」· M,V 代码 · 共 49 行
M,V
49 行
head 3.0;access;symbols;locks; strict;comment @// @;3.0date 2000.06.13.19.18.03; author gilles; state Exp;branches;next ;desc@Release 3@3.0log@*** empty log message ***@text@function [pts]=pickgeom(datain,npts,dist)%finding plotting limits of source receiver geometry +50 meters on each sideminx=min(min([datain.th{1}(31,:) datain.th{1}(37,:)]))-dist;maxx=max(max([datain.th{1}(31,:) datain.th{1}(37,:)]))+dist;miny=min(min([datain.th{1}(29,:) datain.th{1}(35,:)]))-dist;maxy=max(max([datain.th{1}(29,:) datain.th{1}(35,:)]))+dist;%plotting source informationplot(datain.th{1}(31,:),datain.th{1}(29,:),'ob');hold on%plotting receiver informationplot(datain.th{1}(37,:),datain.th{1}(35,:),'*r');axis([minx maxx miny maxy]);axis('equal');%mouse input for along S-R azimuth bin limits[px,py]=ginput(npts);pts=[px py];plot(px,py,'+k');@
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?