Changeset 10413 for issm/trunk/src/m/model/plot/plot_gridded.m
- Timestamp:
- 11/01/11 16:24:07 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/model/plot/plot_gridded.m
r10412 r10413 25 25 %Interpolating data on grid 26 26 [x_m y_m data_grid]=InterpFromMeshToGrid(elements,x,y,data,xlim(1),ylim(2),post,post,round(diff(ylim)/post),round(diff(xlim)/post),NaN); 27 if size(data_grid,1)<3 | size(data_grid,2)<3, 28 error('data_grid size too small in plot_gridded, check posting and uni'); 29 end 27 30 28 31 %Process data_grid: add white in NaN and correct caxis accordingly
Note:
See TracChangeset
for help on using the changeset viewer.