代码拉取完成,页面将自动刷新
% function [f] = plot_state(prm, x_true, x, v, pos, y, stats)
%
% Plots the state vector of the system.
%
% @param prm - system parameters
% @param x_true - true field
% @param x - model field
% @param v - ensemble variance
% @param pos - observation locations (optional)
% @param y - observations (optional)
% @param stats - assimilation statistics
% @return - handle to figure (optional)
% File: plot_state.m
%
% Created: 31/08/2007
%
% Last modified: 13/08/2008
%
% Author: Pavel Sakov
% CSIRO Marine and Atmospheric Research
% NERSC
%
% Purpose: Plots the state vector of the system.
%
% Description: Plots the current state of the system. First time should
% be called with empty f0, second and following times - with
% the f0 set to the handle returned during the first call.
%
% Revisions: 13082008 PS: added ensemble variance to the arguments
% 28.10.2010 PS: got rid of the last (8th) argument
%% Copyright (C) 2008 Pavel Sakov
%%
%% This file is part of EnKF-Matlab. EnKF-Matlab is a free software. See
%% LICENSE for details.
function [f] = plot_state(prm, x_true, x, v, pos, y, stats)
firsttime = ~isfield(stats, 'f_state');
if firsttime
f = figure;
else
f = figure(stats.f_state);
end
model_plotstate(prm, x_true, x, v, pos, y, stats, f, firsttime)
return
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。