Ignore:
Timestamp:
01/23/12 08:22:01 (13 years ago)
Author:
Mathieu Morlighem
Message:

Fixed double colorbar

File:
1 edited

Legend:

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

    r11161 r11169  
    2121%generate levels
    2222if (alreadyplot),
    23         h=colorbar;
     23        phch = get(findall(gcf,'type','image','tag','TMW_COLORBAR'),{'parent'});
     24        h    = phch{1};
    2425        ylim=get(h,'YLim');
    2526        palette=colormap;
     
    5051end
    5152
     53alreadyplot
    5254if ~alreadyplot,
    5355        % format the colorbar
Note: See TracChangeset for help on using the changeset viewer.