Changeset 21157
- Timestamp:
- 08/24/16 12:58:49 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/examples/Greenland/runme.m
r21128 r21157 210 210 211 211 if any(steps==8) 212 disp(' Step 8: Plotting exercise');213 md = loadmodel('./Models/Greenland.HistoricTransient_200yr');214 figure215 surfmb=[]; for i=2:201; surfmb=[surfmb ...216 md.results.TransientSolution(i).SmbMassBalance]; end217 subplot(3,1,1); plot([1:200],mean(surfmb));218 title('Mean Surface mass balance');219 vel=[]; for i=2:201; vel=[vel md.results.TransientSolution(i).Vel]; end220 subplot(3,1,2); plot([1:200],mean(vel));221 title('Mean Velocity');222 volume=[]; for i=2:201; volume=[volume md.results.TransientSolution(i).IceVolume]; end223 subplot(3,1,3); plot([1:200],volume);224 title('Ice Volume'); xlabel('years');225 212 disp(' Step 8: Plotting exercise'); 226 213
Note:
See TracChangeset
for help on using the changeset viewer.