Changeset 24067


Ignore:
Timestamp:
07/05/19 00:58:01 (6 years ago)
Author:
Mathieu Morlighem
Message:

CHG: preserve figure visibility

File:
1 edited

Legend:

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

    r23138 r24067  
    140140%Back to original axes
    141141if getfieldvalue(options,'showregion',0)==0,
    142         axes(mainaxes);
     142        %Do it this way in order to preserve the figure visibility
     143        set(gcf,'CurrentAxes',mainaxes);
    143144end
    144145
Note: See TracChangeset for help on using the changeset viewer.