资源简介
大地电磁二维正演部分程序以及大地电磁二维occam反演程序
代码片段和文件信息
%--------------------------------------------------------------------------
% plotOccam2DMT.m
%
% About: A Program to plot up OCCAM2DMT inversion models and data.
%
% Usage: Call this program from the matlab prompt and GUI window pops
% up. Their are model plot options in the figure menu as well
% as menu items for plotting conductivity profiles and MT
% responses and data fits.
%
% Or call as:
%
% plotOccam2DMT(‘iterationfilename‘)
%
% where ‘iterationfilename‘ is the name of the iteration to
% plot.
%
% You can also use:
%
% plotOccam2DMT(‘lastiter‘)
%
% and the last (most recent) iteration will be plotted.
%
% OPTIONAL PARAMS:
% ‘plotcenter‘ [xmin xmax ymin ymax] plots only the range given
% ‘caxis‘ [cmin cmax] color axis values
% ‘plotlog‘ ‘off‘ uses a linear color scale
% ‘x0‘ n offsets the x axis by n (uses: x-n
% ‘sitectr‘ ‘on‘ center the plot on the sites
% ‘axes‘ h axes to plot in (subplotting) - lots of stuff not done
% in this case.
%
%
% Written by: Kerry Key
% Scripps Institution of Oceanography
% kkey@ucsd.edu
%
% Version: 1.0 August 2001
% 1.1 July 2003 - Made a function with callable iteration file
% 1.2 2006 DGM - various cleanups to keep from crashing.
% 1.3 April 2007. Added ‘lastiter‘ option for file name
% input
% 1.4 October 2007. All functions are in this single file.
%
%--------------------------------------------------------------------------
function plotOccam2DMT(varargin)
%--------------------------------------------------------------------------
% Plotting OPTIONS:
%--------------------------------------------------------------------------
plt_log = ‘on‘; % Flag for linear or log resistivity scale:
plt_cntr = ‘off‘; % Flag for plotting just the center:
plt_caxis = []; % color axis to apply
plt_sitescenter = ‘off‘; % flag for plotting model as wide as sites
plot_prej = ‘off‘; % do not prejudice model
plot_zero = 0; % zero point on horizontal axis % kludge for re-zeroing UTM models
exceptioncolor = ‘w-‘; % color of line to plot for model penalty exceptions
x0 = 0;
plt_axes = [];
hfigure = [];
sIterFile = [];
if nargin==1
sIterFile = varargin{1};
elseif nargin>1
sIterFile = varargin{1};
for i=2:2:nargin
str = varargin{i};
switch( lower(str) )
case {‘plotcenter‘}
plt_cntr = ‘on‘;
plot_center = varargin{i+1};
case {‘plotlog‘}
相关资源
- Pattern Recognition and Machine Learning(高清
- MATLAB 编程 第二版 Stephen J. Chapman 著
- 均值滤波和FFT频谱分析Matlab代码
- 《MATLAB扩展编程》代码
- HDB3码、AMI码的MATLAB实现
- 3点GPS定位MATLAB仿真
- MATLAB数字信号处理85个实用案例精讲入
- matlab从入门到精通pdf94795
- 欧拉放大论文及matlab代码
- 跳一跳辅助_matlab版本
- 全面详解LTE MATLAB建模、仿真与实现
- MIMO-OFDM无线通信技术及MATLAB实现_孙锴
- MATLAB Programming for Engineers 4th - Chapman
- matlab 各种谱分析对比
- 分数阶chen混沌matlab程序
- 基于粒子群算法的非合作博弈的matl
- MATLAB车流仿真 包括跟驰、延误
- matlab空间桁架计算程序
- 基于MATLAB的图像特征点匹配和筛选
- DMA-TVP-FAVAR
- GPS信号的码捕获matlab代码.7z
- 一维光子晶体MATLAB仿真代码吸收率折
- newmark法源程序
- 传统关联成像、计算鬼成像matlab
- pri传统分选算法
- 摆动滚子推杆盘形凸轮设计
- 医学图像重建作业matlab源码
- Matlab实现混沌系统的控制
- 检测疲劳驾驶
- Matlab锁相环仿真-Phase Locked Loop.rar
评论
共有 条评论