Changeset 27134
- Timestamp:
- 07/01/22 17:30:47 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-larour-SLPS2022/src/m/plot/applyoptions.m
r26314 r27134 542 542 x=field(:,1); 543 543 y=field(:,2); 544 if isa(md.mesh,'mesh3dsurface'), z=field(:,3); end 545 544 546 %unit multiplier: 545 547 if exist(options,'unit'), … … 547 549 x=x*unit; 548 550 y=y*unit; 549 end 550 hold on,p=plot(x,y,'k.'); 551 if isa(md.mesh,'mesh3dsurface'), z=z*unit; end 552 end 553 hold on; 554 if isa(md.mesh,'mesh3dsurface'), 555 p=plot3(x,y,z,'k.'); 556 else 557 p=plot(x,y,'k.'); 558 end 551 559 markersize=getfieldvalue(options,'markersize',12); 552 560 color=getfieldvalue(options,'cloudcolor','k');
Note:
See TracChangeset
for help on using the changeset viewer.