Changeset 6935


Ignore:
Timestamp:
01/05/11 08:33:45 (14 years ago)
Author:
Mathieu Morlighem
Message:

Added backgroundcolor and figurebackgroundcolor options

Location:
issm/trunk/src/m/model/plot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/plot/applyoptions.m

    r6860 r6935  
    371371        end
    372372end
     373
     374%backgroundcolor
     375set(gca,'color',getfieldvalue(options,'backgroundcolor','w'));
     376
     377%figurebackgrounbcolor
     378set(gcf,'color',getfieldvalue(options,'figurebackgroundcolor','none'));
  • issm/trunk/src/m/model/plot/plotdoc.m

    r6660 r6935  
    5656disp('       ''basin'': zoom on a given basin (''pineislandglacier'',''ronneiceshelf'', type basinzoom for a complete list)');
    5757disp('       ''caxis'': modify  colorbar range. (array of type [a b] where b>=a)');
     58disp('       ''backgroundcolor'': plot background color. (default is ''w'')');
     59disp('       ''figurebackgroundcolor'': figure background color. (default is ''none'')');
    5860disp('       ''colorlevels'':  N or {value1,valu2,value3,...} used if quiver, use different colors for the given number of colors or limits');
    5961disp('       ''colorbar'': add colorbar (string ''on'' or ''off'')');
Note: See TracChangeset for help on using the changeset viewer.