Changeset 2821
- Timestamp:
- 01/13/10 15:55:45 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/@plotoptions/buildlist.m
r2708 r2821 20 20 plotoptions.numberofplots=numberofplots; 21 21 22 %figure out wether alloptions flog is on 23 if strcmpi(getfieldvalue(rawoptions,'alloptions','off'),'on'), 24 allflag=1; 25 else 26 allflag=0; 27 end 28 22 29 %initialize plotoptions.list 23 30 plotoptions.list=cell(numberofplots,1); … … 29 36 for i=1:size(rawoptions.list,1), 30 37 38 %If alloptions flag has is on, apply to all plots 39 if (allflag & ~strcmpi(rawoptions.list{i,1},'data') & ~ismember('#',rawoptions.list{i,1})), 40 for j=1:numberofplots, 41 plotoptions.list{j}=addfield(plotoptions.list{j},rawoptions.list{i,1},rawoptions.list{i,2}); 42 end 43 31 44 %option contains '#' 32 if ismember('#',rawoptions.list{i,1}),45 elseif ismember('#',rawoptions.list{i,1}), 33 46 34 47 %get suplot(s) associated
Note:
See TracChangeset
for help on using the changeset viewer.