Changeset 14488
- Timestamp:
- 03/29/13 21:15:50 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/scaleruler.m
r14463 r14488 67 67 end 68 68 end 69 text(xt,yt,2,[num2str(round_ice(Tick/1000,3)) ' km'],'FontSize',fontsize,'FontWeight',fontweight,'Color',fontcolor,'HorizontalAlignment','center','VerticalAlignment','baseline'); 69 text(xt,yt,2,num2str(round_ice(Tick/1000,3)),'FontSize',fontsize,'FontWeight',fontweight,'Color',fontcolor,'HorizontalAlignment','center','VerticalAlignment','baseline'); 70 % add leading spaces depending on length of label string 71 str=' km'; 72 for i=1:numel(num2str(round_ice(Tick/1000,3))), 73 str=[' ' str]; 74 end 75 text(xt,yt,2,str,'FontSize',fontsize,'FontWeight',fontweight,'Color',fontcolor,'HorizontalAlignment','left','VerticalAlignment','baseline'); 70 76 end
Note:
See TracChangeset
for help on using the changeset viewer.