Ignore:
Timestamp:
11/01/11 16:24:07 (13 years ago)
Author:
seroussi
Message:

minor error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/plot/plot_gridded.m

    r10412 r10413  
    2525%Interpolating data on grid
    2626[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);
     27if size(data_grid,1)<3 | size(data_grid,2)<3,
     28        error('data_grid size too small in plot_gridded, check posting and uni');
     29end
    2730
    2831%Process data_grid: add white in NaN and correct caxis accordingly
Note: See TracChangeset for help on using the changeset viewer.