Changeset 844


Ignore:
Timestamp:
06/08/09 15:14:06 (16 years ago)
Author:
Mathieu Morlighem
Message:

some fixing in plots

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  
    122122end
    123123
    124 %axis
    125 if ~isnan(options_structure.axis)
    126         eval(['axis ' options_structure.axis]);
    127 end
    128 
    129124%area
    130125if ~isnan(options_structure.area),
     
    168163end
    169164
     165%axis
     166if ~isnan(options_structure.axis)
     167        eval(['axis ' options_structure.axis]);
     168end
     169
    170170%streamliness
    171171if iscell(options_structure.streamlines) | ~isnan(options_structure.streamlines),
  • issm/trunk/src/m/classes/public/plot/parse_options.m

    r839 r844  
    594594                Ly=max(md.y)-min(md.y);
    595595                %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];
    597597        end
    598598        options_struct.scaleruler=scalerulervalues.value;
  • issm/trunk/src/m/classes/public/plot/plot_contour.m

    r27 r844  
    233233if (~strcmpi(options_structure.contourticks,'off') & ~isempty(c) & ~isempty(h))
    234234        if ~isnan(options_structure.contourcolor)
    235                 clabel(c,h,'color',color);
     235                clabel(c,h,'color',color,'FontSize',14);
    236236        else
    237237                clabel(c,h);
  • issm/trunk/src/m/classes/public/plot/plot_overlay.m

    r838 r844  
    108108end
    109109if isnan(options_structure.colorbarpos),
    110         options_structure.colorbarpos=[0.82 0.65 0.03 0.2];
     110        options_structure.colorbarpos=[0.80 0.70 0.02 0.15];
    111111end
    112112iscolorbar=(options_structure.colorbar==1 | isnan(options_structure.colorbar));
  • issm/trunk/src/m/classes/public/plot/scaleruler.m

    r843 r844  
    5252        yt=Bu(2)+widthscale;
    5353        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');
    5555        end
    5656end
    57 text(xt,yt,[num2str(Tick/1000) ' km'],'FontSize',13,'FontWeight','b');
     57text(xt,yt,[num2str(round_ice(Tick/1000,3)) ' km'],'FontSize',13,'FontWeight','b');
  • issm/trunk/src/m/classes/public/printmodel.m

    r1 r844  
    77%      printmodel(filename,format)
    88
     9set(gcf,'Renderer','zbuffer'); %fixes a bug on Mac OS X (not needed in future Matlab version)
    910frame=getframe();image=frame2im(frame);
    1011imwrite(image,filename,format);
Note: See TracChangeset for help on using the changeset viewer.