Changeset 26932
- Timestamp:
- 03/11/22 07:57:51 (3 years ago)
- Location:
- issm/trunk-jpl/src/m/plot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/plot_manager.m
r25065 r26932 129 129 case 'transient_results', 130 130 plot_transient_results(md,options,subplotwidth,i); 131 return 131 132 case 'transient_field', 132 133 plot_transient_field(md,options,subplotwidth,i); 133 134 return; 134 135 otherwise, 135 if ismember(data,properties('model')), 136 if isfield(md.results,'TransientSolution') && isfield(md.results.TransientSolution,data) 137 plot_transient_movie(md,options,subplotwidth,i); 138 return 139 elseif ismember(data,properties('model')), 136 140 data=eval(['md.' data ';']); 137 141 else -
issm/trunk-jpl/src/m/plot/plot_transient_movie.m
r26931 r26932 12 12 if exist(options,'transient_movie_field'), 13 13 field=getfieldvalue(options,'transient_movie_field'); 14 elseif ischar(getfieldvalue(options,'data')) 15 field=getfieldvalue(options,'data'); 14 16 else 15 17 disp('List of available fields:'); … … 37 39 steps=[limit(1):limit(end)]; 38 40 elseif exist(options,'transient_movie_steps'), 41 warning('option ''transient_movie_steps'' is now ''steps'', please update your script'); 39 42 steps = getfieldvalue(options,'transient_movie_steps'); 43 elseif exist(options,'steps'), 44 steps = getfieldvalue(options,'steps'); 40 45 else 41 46 steps=1:length(results);
Note:
See TracChangeset
for help on using the changeset viewer.