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

📄 displvar.m

📁 用MATLAB进行海洋水团的模拟程序
💻 M
字号:
%  DISPLVAR.M: displays individual stations from omp2 produced by statns2.m.%%  displvar.m%% This program is part of the OMP package from:% Institut fuer Meereskunde% J. Karstensen % Troplowitzstr. 7% 22529 Hamburg% Germany%%  It was written by Matthias Tomczak.%% BUGS: matthias.tomczak@flinders.edu.au%--------------------------------------------%disp('  ')disp('available variables:')who%define input fileincontrol = input('Which variable for display?  [salinity]  ','s');if length(incontrol) > 0	dataset = incontrol;else	dataset = 'salinity';endincontrol = input('Overplotting (y/n)?  [n]  ','s');if incontrol == 'y'	oplt = incontrol;else	oplt = 'n';endfigurehold offif oplt == 'y' hold on; enddept = -levels;for i = 1:length(salinity(1,:))	s = ['plot(' dataset '(:,i),dept)'];	eval(s);	pauseend

⌨️ 快捷键说明

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