Changeset 13836
- Timestamp:
- 10/26/12 15:53:47 (12 years ago)
- Location:
- issm/trunk-jpl/src/m/plot
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/applyoptions.m
r13646 r13836 265 265 if exist(options,'northarrow'), 266 266 northarrow(getfieldvalue(options,'northarrow')); 267 end 268 269 %curved arrow 270 if exist(options,'curvedarrow'), 271 curvedoptions=getfieldvalue(options,'curvedarrow'); 272 curvedarrow(curvedoptions{:}); 267 273 end 268 274 -
issm/trunk-jpl/src/m/plot/colormaps/getcolormap.m
r13154 r13836 21 21 22 22 if strcmpi(map,'Ala'), 23 map = jet ;23 map = jet(256); 24 24 map = map(128:end,:); 25 25 elseif strcmpi(map,'redblue'), -
issm/trunk-jpl/src/m/plot/plot_riftrelvel.m
r13828 r13836 15 15 end 16 16 options=addfielddefault(options,'scaling',2); 17 18 %markersize: 19 markersize=getfieldvalue(options,'markersize',1); 17 20 18 21 %recover vx and vy: … … 37 40 subplot(nlines,ncols,index); 38 41 hold on 39 40 %plot mesh boundaries41 for i=1:size(md.mesh.segments,1),42 plot(x(md.mesh.segments(i,1:2)),y(md.mesh.segments(i,1:2)),'k-');43 end44 42 45 43 %plot rifts vel … … 81 79 %if penetration is negative, plot in black, positive, plot in red;: ie: if rift is closing, black, if rift is opening, red. 82 80 if(penetration>0), 83 p2=plot(x(penaltypairs(j,1)) ,y(penaltypairs(j,1)),'*' ); set(p2,'Color',[140 140 140]/255);81 p2=plot(x(penaltypairs(j,1)) ,y(penaltypairs(j,1)),'*','MarkerSize',markersize); set(p2,'Color',[140 140 140]/255); 84 82 isp2=1; 85 83 else 86 p1=plot(x(penaltypairs(j,1)) ,y(penaltypairs(j,1)),'k*' );84 p1=plot(x(penaltypairs(j,1)) ,y(penaltypairs(j,1)),'k*','MarkerSize',markersize); 87 85 isp1=1; 88 86 end … … 90 88 91 89 %point out the tips 92 h2=plot(x(md.rifts.riftstruct(i).tips(1)),y(md.rifts.riftstruct(i).tips(1)),'g*' );93 plot(x(md.rifts.riftstruct(i).tips(2)),y(md.rifts.riftstruct(i).tips(2)),'g*' );90 h2=plot(x(md.rifts.riftstruct(i).tips(1)),y(md.rifts.riftstruct(i).tips(1)),'g*','MarkerSize',markersize); 91 plot(x(md.rifts.riftstruct(i).tips(2)),y(md.rifts.riftstruct(i).tips(2)),'g*','MarkerSize',markersize); 94 92 segments=md.rifts.riftstruct(i).segments(:,1:2); 95 93 end
Note:
See TracChangeset
for help on using the changeset viewer.