Changeset 5363
- Timestamp:
- 08/18/10 11:15:51 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/plot/applyoptions.m
r4397 r5363 125 125 c=colorbar; 126 126 end 127 if exist(options,'colorbarfontsize'), 128 set(c,'FontSize',getfieldvalue(options,'colorbarfontsize',18)); 129 end 127 set(c,'FontSize',getfieldvalue(options,'colorbarfontsize',14)); 130 128 if exist(options,'wrapping') 131 129 lim=get(c,'Ylim'); … … 242 240 if exist(options,'figposition'), 243 241 244 figpositionstring=getfieldvalue(options,'figposition'); 245 if strcmpi(figpositionstring,'larour'), 246 set(gcf,'Position',[1604 4 1594 1177]); 247 elseif strcmpi(figpositionstring,'larour2'), 248 set(gcf,'Position',[756 62 827 504]); 249 elseif strcmpi(figpositionstring,'mathieu'), 250 set(gcf,'Position',[1 1 1580 1150]); 251 else 252 disp('''position'' string not supported yet'); 242 figposition=getfieldvalue(options,'figposition'); 243 if ischar(figposition), 244 if strcmpi(figposition,'larour'), 245 set(gcf,'Position',[1604 4 1594 1177]); 246 elseif strcmpi(figposition,'larour2'), 247 set(gcf,'Position',[756 62 827 504]); 248 elseif strcmpi(figposition,'mathieu'), 249 set(gcf,'Position',[1 1 1580 1150]); 250 else 251 disp('''position'' string not supported yet'); 252 end 253 else 254 set(gcf,'Position',figposition); 253 255 end 254 256
Note:
See TracChangeset
for help on using the changeset viewer.