Changeset 15112


Ignore:
Timestamp:
05/26/13 19:32:09 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixed caxis

File:
1 edited

Legend:

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

    r15111 r15112  
    110110
    111111h=imagesc(X(1,:),Y(:,1),final);
    112 options=addfielddefault(options,'axis','xy equal off'); % default axis
    113112
    114113%last step: mesh gridded?
     
    119118
    120119%Apply options
     120if ~isnan(data_min),
     121        options=changefieldvalue(options,'caxis',[data_min data_max]); % force caxis so that the colorbar is ready
     122end
     123options=addfielddefault(options,'xlim',xlim);        % default xlim
     124options=addfielddefault(options,'ylim',ylim);        % default ylim
     125options=addfielddefault(options,'axis','xy equal off'); % default axis
    121126applyoptions(md,data,options);
    122127end
Note: See TracChangeset for help on using the changeset viewer.