Changeset 7292
- Timestamp:
- 02/03/11 10:25:08 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/model/plot/plot_section.m
r6631 r7292 29 29 options=removefield(options,'colormap',0); %back to default colormap 30 30 31 %replug x and y onto model so that SectionValue treats the problem correctly 32 md3d=md; 33 if exist(options,'layer') 34 md.x=md.x2d; md.y=md.y2d; md.elements=md.elements2d; md.dim=2; 35 end 36 31 37 %Loop over number of curves 32 38 for i=1:numcurves, 33 39 34 [datai datatype]=processdata(md,data(:,i),options); 35 36 %replug x and y onto model so that SectionValue treats the problem correctly 37 if exist(options,'layer') 38 md.x=md.x2d; md.y=md.y2d; md.elements=md.elements2d; md.dim=2; 39 end 40 [datai datatype]=processdata(md3d,data(:,i),options); 40 41 41 42 %resolution
Note:
See TracChangeset
for help on using the changeset viewer.