Changeset 6582


Ignore:
Timestamp:
11/15/10 13:56:41 (14 years ago)
Author:
Mathieu Morlighem
Message:

Some minor corrections

Location:
issm/trunk/src/m/model/plot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/plot/applyoptions.m

    r6563 r6582  
    146146                c=colorbar;
    147147        end
    148         set(c,'FontSize',getfieldvalue(options,'colorbarfontsize',fontsize));
     148        set(c,'FontSize',getfieldvalue(options,'colorbarfontsize',fontsize),'YColor',getfieldvalue(options,'FontColor','k'));
    149149        if exist(options,'wrapping')
    150150                lim=get(c,'Ylim');
     
    324324        %box off
    325325        if strcmpi(md.hemisphere,'n') | strcmpi(md.hemisphere,'north'),
    326                 A=expread([ ISSM_DIR 'projects/Exp/Greenland.exp']);
     326                A=expread([ ISSM_DIR '/projects/Exp/Greenland.exp']);
    327327        elseif strcmpi(md.hemisphere,'s') | strcmpi(md.hemisphere,'south'),
    328328                A=expread([ ISSM_DIR '/projects/Exp/Antarctica.exp']);
  • issm/trunk/src/m/model/plot/latlonoverlay.m

    r6368 r6582  
    151151                                xcorner2=x(ind-1); ycorner2=y(ind-1);
    152152                        end
    153                         angle=mod((180)/pi*atan2((ycorner2-ycorner),(xcorner2-xcorner))+lonangle,360);
     153                        angle=mod((180)/pi*atan2((ycorner2-ycorner),(xcorner2-xcorner))+latangle,360);
    154154                       
    155155                        if (xcorner>xlimits(1) & xcorner<xlimits(2) & ycorner>ylimits(1) & ycorner<ylimits(2)),
Note: See TracChangeset for help on using the changeset viewer.