Changeset 6493
- Timestamp:
- 11/04/10 09:30:52 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/model/plot/plot_overlay.m
r6492 r6493 20 20 21 21 %Get xlim and ylim (used to extract radar image) 22 xlim=getfieldvalue(options,'xlim',[min(md.x) max(md.x)]); 23 ylim=getfieldvalue(options,'ylim',[min(md.y) max(md.y)]); 22 xlim=getfieldvalue(options,'xlim',[min(x) max(x)]); 23 ylim=getfieldvalue(options,'ylim',[min(y) max(y)]); 24 xlim2=xlim/getfieldvalue(options,'unit',1); 25 ylim2=ylim/getfieldvalue(options,'unit',1); 24 26 25 27 %radar power {{{1 … … 28 30 else 29 31 disp('Extracting radar image...'); 30 md=radarpower(md,xlim ,ylim,getfieldvalue(options,'highres',0));32 md=radarpower(md,xlim2,ylim2,getfieldvalue(options,'highres',0)); 31 33 end%}}} 32 %InterpFromMeshToGrid -> data_grid{{{134 %InterpFromMeshToGrid{{{1 33 35 cornereast =min(xlim); 34 36 cornernorth=max(ylim);
Note:
See TracChangeset
for help on using the changeset viewer.