Changeset 21505 for issm/trunk-jpl/test/NightlyRun/test1501.m
- Timestamp:
- 01/31/17 17:15:36 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/test1501.m
r21056 r21505 108 108 for t=starttime:endtime 109 109 thickness = [thickness (md.results.TransientSolution(t).Thickness)]; 110 volume = [volume mean(md.results.TransientSolution(t).Thickness .value,2).*areas];110 volume = [volume mean(md.results.TransientSolution(t).Thickness(md.mesh.elements),2).*areas]; 111 111 massbal = [massbal (md.results.TransientSolution(t).SmbMassBalance)]; 112 112 velocity = [velocity (md.results.TransientSolution(t).Vel)]; … … 132 132 [data datatype]=processdata(md,results(i).(field),options); 133 133 134 titlestring=[field ' at time ' num2str(results(i).time /md.constants.yts) ' year'];134 titlestring=[field ' at time ' num2str(results(i).time) ' year']; 135 135 plot_unit(x,y,z,elements,data,is2d,isplanet,datatype,options) 136 136 options=changefieldvalue(options,'title',titlestring); … … 147 147 [data datatype]=processdata(md,results(i).(field),options); 148 148 149 titlestring=[field ' at time ' num2str(results(i).time /md.constants.yts) ' year'];149 titlestring=[field ' at time ' num2str(results(i).time) ' year']; 150 150 plot_unit(x,y,z,elements,data,is2d,isplanet,datatype,options) 151 151 options=changefieldvalue(options,'title',titlestring); … … 196 196 else 197 197 frame=getframe(gcf); 198 images(:,:,1,count) = rgb2ind(frame.cdata, map,'nodither');198 images(:,:,1,count) = rgb2ind(frame.cdata,[map; map],'nodither'); 199 199 end 200 200
Note:
See TracChangeset
for help on using the changeset viewer.