Changeset 20834
- Timestamp:
- 06/30/16 09:33:42 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/plot_googlemaps.m
r20070 r20834 23 23 24 24 %Get xlim and ylim (used to extract radar image) 25 xlim=getfieldvalue(options,'xlim',[min(x) max(x)]) ;26 ylim=getfieldvalue(options,'ylim',[min(y) max(y)]) ;25 xlim=getfieldvalue(options,'xlim',[min(x) max(x)])/getfieldvalue(options,'unit',1); 26 ylim=getfieldvalue(options,'ylim',[min(y) max(y)])/getfieldvalue(options,'unit',1); 27 27 if md.mesh.epsg==3413, %UPS Greenland 28 28 [latlist lonlist]= xy2ll(... … … 99 99 subplotmodel(plotlines,plotcols,i,options); 100 100 101 h=imagesc(x_m ,y_m,final);101 h=imagesc(x_m*getfieldvalue(options,'unit',1),y_m*getfieldvalue(options,'unit',1),final); 102 102 103 103 %last step: mesh gridded?
Note:
See TracChangeset
for help on using the changeset viewer.