Changeset 26 for trunk/PROGRAMMES/initfig.m
- Timestamp:
- 08/26/09 11:54:01 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/PROGRAMMES/initfig.m
r5 r26 42 42 % $Id$ 43 43 % 44 % - fplod 2009-08-25T16:41:34Z aedon.locean-ipsl.upmc.fr (Darwin) 45 % 46 % * ajout pour octave 3.2 (uniquement sous 47 % /usr/local_linux/octave/64/3.2.2/bin/octave donc dedale) 48 % 44 49 % - fplod 2009-08-17T12:39:51Z aedon.locean-ipsl.upmc.fr (Darwin) 45 50 % … … 56 61 set(gcf,'PaperPosition',[0,0,1,1]); 57 62 else 58 warning('www : octave can not initialise Units, position, PaperType PaperUnits PaperPosition'); 63 switch OCTAVE_VERSION 64 case {'3.0.2'} 65 warning('www : octave 3.0.2 can not initialise Units, position, PaperType PaperUnits PaperPosition'); 66 case {'3.2.2'} 67 set(gcf,'Units','normalized'); 68 set(gcf,'position',[0.1 0.08,0.5,0.8]) 69 set(gcf,'PaperType', 'a4'); 70 set(gcf,'PaperUnits','normalized'); 71 set(gcf,'PaperPosition',[0,0,1,1]); 72 otherwise 73 warning('www : do no know about octave initialise Units, position, PaperType PaperUnits PaperPosition'); 74 end 59 75 end 60 76
Note: See TracChangeset
for help on using the changeset viewer.