From 8c4cc643e128d777436cbbd130d2fdfdd28f27a7 Mon Sep 17 00:00:00 2001 From: "Cody, Jonathan William" Date: Mon, 15 May 2023 11:48:48 -0500 Subject: [PATCH] Add files via upload --- N803_collector_2.m | 10 ++++++++-- N803_plotter_2.m | 7 +++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/N803_collector_2.m b/N803_collector_2.m index a972fc4..9064027 100644 --- a/N803_collector_2.m +++ b/N803_collector_2.m @@ -1,9 +1,12 @@ -% collector.m - collects outputs from model calibration and UQ +% N803_collector_2.m - collects outputs from model calibration and UQ addpath Data % This script will load the MCMC parameter samples or MSLS parameter sets, % solve the ODE model, and store the results. +% To replicate the main text ONLY, first run 'main_shared_2_calibration.m'. +% Then edit this file per instructions on line 171. + %% ======================================================================== % INPUTS % ======================================================================== @@ -165,8 +168,11 @@ disp('Collecting...') ; +% To replicate main text results only, replace n = 1:24 on line 175 with +% n = [ 1,2,19:24 ] + % For each model... -for n = 22:24 +for n = 1:24 disp(C(n).Scenario) ; diff --git a/N803_plotter_2.m b/N803_plotter_2.m index c6ca6e3..d935c5e 100644 --- a/N803_plotter_2.m +++ b/N803_plotter_2.m @@ -6,6 +6,10 @@ % This script will generate all figure panels using the model outputs saved % by 'collector.m' and using custom plotting function 'gridplot.m'. +% To replicate the main text ONLY, first run 'main_shared_2_calibration.m'. +% Then run 'N803_collector_2' per instructions on line 7 of that file. +% Then edit this file per instructions on line 28. + %% ======================================================================== % BODY % ======================================================================== @@ -21,6 +25,9 @@ Color([6,18:26 ]) = { [ 0 1 2 ]/2.4 } ; Color([3,4,7:16]) = { [ 1 1 1 ]/5 } ; +% To produce main text figures, replace Fig = 3:.5:22 on line 33 with ... +% Fig = 3:.5:11 + % Loop through 'Fig' and create each figure % NOTE: 'for' indent is removed for Fig = 3:.5:22