⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wiggle(1).m

📁 这是matlab在地球物理数据处理方面的源码
💻 M
字号:
function handle = wiggle(z,taxis,zaxis,sc,ornt)%WIGGLET1	[ A.K.Booer 24-Mar-1993, Modified JHaverstock March 20, 1996 ]%%   wiggle(x,taxis,zaxis) - plots a shaded wiggle plot%%   x - matrix of waveform columns%   taxis - time axis vector%   zaxis - space axis vector% %   wiggle(x,t,z,mag)   - scales waveforms by given magnification%   wiggle(x,t,z,m,'d') - changes time axis orientation to 'downwards'%%   WIGGLE returns handle to created graphics objects, so that%   set(wiggle(x,t,z), 'face',c1, 'edge',c2') will specify colours.% % Modifications:% 24-Mar-1993   akb   Based on "wp" of 2-Oct-1992%[n,m] = size(z);n1 = n:-1:1;if nargin < 2, taxis = 1:n; endif nargin < 3, zaxis = 1:m; endif nargin < 4, sc = 1; endif nargin < 5, ornt = 'a'; end	% default orientation "across"colour = 'w'; 				% default colourzaxis = zaxis(:)';% z = z * (2*mean(diff(zaxis))) * (sc / max(max(z) - min(z))); 	% scale%if ornt(1) == 'd'  h = fill(zaxis(ones(2*n,1),:)+[z;min(z(n1,:),0)],taxis([1:n n1]),colour);...      set(h,'edge',colour), set(gca,'Ydir','r')  else  h = fill(taxis([1:n n1]),zaxis(ones(2*n,1),:)-[z;min(z(n1,:),0)],colour);...      set(h,'edge',colour), set(gca,'Ydir','r')end%if nargout > 0, handle = h; end%

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -