Changeset 844
- Timestamp:
- 06/08/09 15:14:06 (16 years ago)
- Location:
- issm/trunk/src/m
- Files:
-
- 6 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/plot/applyoptions.m
r839 r844 122 122 end 123 123 124 %axis125 if ~isnan(options_structure.axis)126 eval(['axis ' options_structure.axis]);127 end128 129 124 %area 130 125 if ~isnan(options_structure.area), … … 168 163 end 169 164 165 %axis 166 if ~isnan(options_structure.axis) 167 eval(['axis ' options_structure.axis]); 168 end 169 170 170 %streamliness 171 171 if iscell(options_structure.streamlines) | ~isnan(options_structure.streamlines), -
issm/trunk/src/m/classes/public/plot/parse_options.m
r839 r844 594 594 Ly=max(md.y)-min(md.y); 595 595 %default values 596 scalerulervalues.value=[min(md.x)+ 1/8*Lx min(md.y)+1/8*Ly 10^(ceil(log10(Lx)))/5 floor(Lx/100) 5];596 scalerulervalues.value=[min(md.x)+6/8*Lx min(md.y)+1/10*Ly 10^(ceil(log10(Lx)))/5 floor(Lx/100) 5]; 597 597 end 598 598 options_struct.scaleruler=scalerulervalues.value; -
issm/trunk/src/m/classes/public/plot/plot_contour.m
r27 r844 233 233 if (~strcmpi(options_structure.contourticks,'off') & ~isempty(c) & ~isempty(h)) 234 234 if ~isnan(options_structure.contourcolor) 235 clabel(c,h,'color',color );235 clabel(c,h,'color',color,'FontSize',14); 236 236 else 237 237 clabel(c,h); -
issm/trunk/src/m/classes/public/plot/plot_overlay.m
r838 r844 108 108 end 109 109 if isnan(options_structure.colorbarpos), 110 options_structure.colorbarpos=[0.8 2 0.65 0.03 0.2];110 options_structure.colorbarpos=[0.80 0.70 0.02 0.15]; 111 111 end 112 112 iscolorbar=(options_structure.colorbar==1 | isnan(options_structure.colorbar)); -
issm/trunk/src/m/classes/public/plot/scaleruler.m
r843 r844 52 52 yt=Bu(2)+widthscale; 53 53 if i~=numberofticks-1, 54 text(xt,yt,num2str( Tick/1000),'FontSize',13,'FontWeight','b');54 text(xt,yt,num2str(round_ice(Tick/1000,3)),'FontSize',13,'FontWeight','b'); 55 55 end 56 56 end 57 text(xt,yt,[num2str( Tick/1000) ' km'],'FontSize',13,'FontWeight','b');57 text(xt,yt,[num2str(round_ice(Tick/1000,3)) ' km'],'FontSize',13,'FontWeight','b'); -
issm/trunk/src/m/classes/public/printmodel.m
r1 r844 7 7 % printmodel(filename,format) 8 8 9 set(gcf,'Renderer','zbuffer'); %fixes a bug on Mac OS X (not needed in future Matlab version) 9 10 frame=getframe();image=frame2im(frame); 10 11 imwrite(image,filename,format);
Note:
See TracChangeset
for help on using the changeset viewer.