资源简介
大地电磁二维正演部分程序以及大地电磁二维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‘}
相关资源
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
- k近邻算法matlab实现
- matlab识别系统
评论
共有 条评论