Changeset 18256
- Timestamp:
- 07/17/14 08:33:59 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/plot_transient_movie.m
r18255 r18256 39 39 steps=1:length(results); 40 40 end 41 results=md.results.TransientSolution; 41 42 %calculate caxis 43 if ~exist(options,'caxis'), 44 range = [Inf -Inf]; 45 for i=steps 46 [data datatype]=processdata(md,results(i).(field),options); 47 range(1) = min(range(1),min(data)); 48 range(2) = max(range(2),max(data)); 49 end 50 options=addfielddefault(options,'caxis',range); 51 end 52 53 %display movie 42 54 nstep=1; 55 deltat = getfieldvalue(options,'pause',.5); 43 56 for i=steps 44 57 … … 65 78 end 66 79 else 67 pause( 0.5)80 pause(deltat) 68 81 end 69 82 nstep=nstep+1;
Note:
See TracChangeset
for help on using the changeset viewer.