Changeset 15035


Ignore:
Timestamp:
05/15/13 14:29:01 (12 years ago)
Author:
cborstad
Message:

allow a cell of linewidth values for multiple expdisp plots

Location:
issm/trunk-jpl/src/m/plot
Files:
2 edited

Legend:

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

    r14323 r15035  
    243243filename=(getfieldvalue(options,'expdisp'));
    244244style=(getfieldvalue(options,'expstyle'));
     245linewidth=(getfieldvalue(options,'linewidth',1));
    245246for i=1:length(getfieldvalue(options,'expdisp')),
    246247        filenamei=filename{i};
    247248        stylei=style{i};
    248         expdisp(filenamei,gcf,stylei,getfieldvalue(options,'linewidth',1),getfieldvalue(options,'unit',1));
     249        linewidthi=linewidth{i};
     250        expdisp(filenamei,gcf,stylei,linewidthi,getfieldvalue(options,'unit',1));
    249251end
    250252
  • issm/trunk-jpl/src/m/plot/plotdoc.m

    r13009 r15035  
    115115disp('       ''expdisp'': plot exp file on top of a data plot. provide exp file as an argument (use a cell of strings if more than one)');
    116116disp('       ''expstyle'': marker style for expdisp plot (use a cell of strings if more than one)');
    117 disp('       ''linewidth'': line width for expdisp plot');
     117disp('       ''linewidth'': line width for expdisp plot (use a cell of strings if more than one)');
    118118disp('       ''border'': size of display border (in pixels). active only for overlay plots');
    119119disp('       ''text'': print string, use a cell of strings if more than one');
Note: See TracChangeset for help on using the changeset viewer.