- Timestamp:
- 06/07/17 10:50:54 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-larour-NatGeoScience2016/src/m/plot/plot_BC.m
r19203 r21759 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
Note:
See TracChangeset
for help on using the changeset viewer.