Changeset 21365


Ignore:
Timestamp:
11/12/16 19:31:07 (8 years ago)
Author:
Eric.Larour
Message:

CHG: handy trick to plot multiple calls of plotmodel!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/branches/trunk-larour-NatGeoScience2016/src/m/plot/plotmodel.m

    r14401 r21365  
    3434
    3535        %Create figure
    36         f=figure(figurenumber);clf;
     36        f=figure(figurenumber);
     37        if strcmpi(getfieldvalue(options.list{1},'clf','on'),'on'),
     38                clf;
     39        end
    3740        if strcmpi(getfieldvalue(options.list{1},'visible','on'),'off'),
    3841                set(f,'Visible','Off');
Note: See TracChangeset for help on using the changeset viewer.