Changeset 14490


Ignore:
Timestamp:
03/29/13 21:57:04 (12 years ago)
Author:
cborstad
Message:

title location for horizontal manualcb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/manualcb.m

    r14462 r14490  
    9292
    9393if exist(options,'title'),
    94         title(getfieldvalue(options,'title'),'FontSize',fontsize);
     94        if strcmpi(getfieldvalue(options,'orientation','vertical'),'horizontal'),
     95                th=title(getfieldvalue(options,'title'),'FontSize',fontsize);
     96                set(th,'Position',[ytick(end)+0.075,-0.3]);
     97        else
     98                title(getfieldvalue(options,'title'),'FontSize',fontsize);
     99        end
    95100end
    96101if exist(options,'ylabel'),
Note: See TracChangeset for help on using the changeset viewer.