Ignore:
Timestamp:
08/26/09 11:54:01 (15 years ago)
Author:
pinsard
Message:

production de .ps au lieu de .eps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PROGRAMMES/initfig.m

    r5 r26  
    4242% $Id$ 
    4343% 
     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% 
    4449% - fplod 2009-08-17T12:39:51Z aedon.locean-ipsl.upmc.fr (Darwin) 
    4550% 
     
    5661 set(gcf,'PaperPosition',[0,0,1,1]); 
    5762else 
    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 
    5975end 
    6076 
Note: See TracChangeset for help on using the changeset viewer.