Changeset 2265
- Timestamp:
- 09/21/09 07:56:09 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/plot/processdata.m
r1744 r2265 8 8 9 9 %check format 10 if (iscell(data) | isempty(data) | isnan(data)),10 if (iscell(data) | isempty(data) | length(data)==1), 11 11 error('plotmodel error message: data provided is empty'); 12 12 end … … 20 20 %check length 21 21 if datasize(1)~=md.numberofgrids & datasize(1)~=md.numberofelements & datasize(1)~=md.numberofgrids*6 & (strcmpi(md.type,'2d') | datasize(1)~=md.numberofgrids2d) 22 error('plotmodel error message: data not supproted yet') 22 error('plotmodel error message: data not supproted yet'); 23 23 end 24 24 … … 48 48 data2=data(2:6:md.numberofgrids*6,:); 49 49 data=sqrt(data1.^2+data2.^2); 50 datasize(1)=md.numberofgrids; 50 51 %---> go to grid data 51 52 end … … 54 55 if (strcmpi(md.type,'3d') & datasize(1)==md.numberofgrids2d), 55 56 data=project3d(md,data,'node'); 57 datasize(1)=md.numberofgrids; 56 58 %---> go to grid data 57 59 end
Note:
See TracChangeset
for help on using the changeset viewer.