Changeset 21705
- Timestamp:
- 05/04/17 14:24:09 (8 years ago)
- Location:
- issm/trunk-jpl/src/m/plot
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/m/plot/plot_BC.m ¶
r19203 r21705 7 7 8 8 [x y z elements is2d isplanet]=processmesh(md,[],options); 9 spcvx=processdata(md,md.stressbalance.spcvx,options); 10 spcvy=processdata(md,md.stressbalance.spcvy,options); 11 spcvz=processdata(md,md.stressbalance.spcvz,options); 12 nbv = numel(x); 9 13 10 14 %plot dirichlets … … 12 16 if strcmpi(dirichleton,'on'), 13 17 h1=plot3(... 14 x(find(~isnan( md.stressbalance.spcvx(1:md.mesh.numberofvertices,1)))),...15 y(find(~isnan( md.stressbalance.spcvx(1:md.mesh.numberofvertices,1)))),...16 z(find(~isnan( md.stressbalance.spcvx(1:md.mesh.numberofvertices,1)))),...18 x(find(~isnan(spcvx(1:nbv,1)))),... 19 y(find(~isnan(spcvx(1:nbv,1)))),... 20 z(find(~isnan(spcvx(1:nbv,1)))),... 17 21 'ro','MarkerSize',14,'MarkerFaceColor','r'); 18 22 h2=plot3(... 19 x(find(~isnan( md.stressbalance.spcvy(1:md.mesh.numberofvertices,1)))),...20 y(find(~isnan( md.stressbalance.spcvy(1:md.mesh.numberofvertices,1)))),...21 z(find(~isnan( md.stressbalance.spcvy(1:md.mesh.numberofvertices,1)))),...23 x(find(~isnan(spcvy(1:nbv,1)))),... 24 y(find(~isnan(spcvy(1:nbv,1)))),... 25 z(find(~isnan(spcvy(1:nbv,1)))),... 22 26 'bo','MarkerSize',10,'MarkerFaceColor','b'); 23 27 h3=plot3(... 24 x(find(~isnan( md.stressbalance.spcvz(1:md.mesh.numberofvertices,1)))),...25 y(find(~isnan( md.stressbalance.spcvz(1:md.mesh.numberofvertices,1)))),...26 z(find(~isnan( md.stressbalance.spcvz(1:md.mesh.numberofvertices,1)))),...28 x(find(~isnan(spcvz(1:nbv,1)))),... 29 y(find(~isnan(spcvz(1:nbv,1)))),... 30 z(find(~isnan(spcvz(1:nbv,1)))),... 27 31 'yo','MarkerSize',6 ,'MarkerFaceColor','y'); 28 32 end -
TabularUnified issm/trunk-jpl/src/m/plot/plot_icefront.m ¶
r19203 r21705 19 19 elementzeroice=sum(zeroice(md.mesh.elements),2); 20 20 21 if dimension(md.mesh)==2,21 if is2d, 22 22 icefront=(elementice & elementnoice) & ~(elementice==2 & elementzeroice); 23 23 -
TabularUnified issm/trunk-jpl/src/m/plot/plot_manager.m ¶
r17718 r21705 21 21 plot_boundaries(md,options,subplotwidth,i); 22 22 return; 23 case 'BC',23 case {'BC','bc'}, 24 24 plot_BC(md,options,subplotwidth,i,data); 25 25 return;
Note:
See TracChangeset
for help on using the changeset viewer.