Ignore:
Timestamp:
03/27/07 15:43:18 (17 years ago)
Author:
pinsard
Message:

improvements/corrections of some *.pro headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/IMAGE/animgif.pro

    r157 r238  
    1 ;------------------------------------------------------------ 
    2 ;------------------------------------------------------------ 
    3 ;------------------------------------------------------------ 
    41;+ 
    52; 
    6 ; @file_comments  
     3; @file_comments 
    74; Build a gif animation 
    85; 
    9 ; @categories  
     6; @categories 
    107; Animated drawings. 
    118; 
    12 ; @param NOMFIC {in}{required}  
     9; @param NOMFIC {in}{required} 
    1310; It is the name of the gif file containing the animation. 
    1411;          Comment: this file is placed in the directory defined by iodir. 
    1512; 
    16 ; @uses  
     13; @uses 
    1714; common.pro 
    1815; 
    19 ; @restrictions  
     16; @restrictions 
    2017; We use the Z buffer to go faster!. 
    2118;              So, if it failed in animgif, you have to do: 
     
    2421;              IDL> retall 
    2522; 
    26 ; @restrictions  
     23; @restrictions 
    2724; If we want to delete the \@common, 
    28 ;               we have to define manually the picture's size  
     25;               we have to define manually the picture's size 
    2926;               (variables xsize and ysize) just as iodir. 
    3027; 
    31 ; @history  
     28; @history 
    3229; Guillaume Roullet (grlod\@ipsl.jussieu.fr) 
    3330;          Sebastien Masson (smasson\@lodyc.jussieu.fr) 
    3431;          30/4/1999 
    3532; 
    36 ; @version  
     33; @version 
    3734; $Id$ 
    3835; 
    3936;- 
    40 ;------------------------------------------------------------ 
    41 ;------------------------------------------------------------ 
    42 ;------------------------------------------------------------ 
     37; 
    4338PRO animgif, nomfic 
    4439; 
     
    5348;  It completes the current palette on 256 colors. 
    5449; 
    55    red = [rouge, replicate(255, 256-n_elements(rouge))]  
    56    green = [vert, replicate(255, 256-n_elements(rouge))]  
    57    blue = [bleu, replicate(255, 256-n_elements(rouge))]  
     50   red = [rouge, replicate(255, 256-n_elements(rouge))] 
     51   green = [vert, replicate(255, 256-n_elements(rouge))] 
     52   blue = [bleu, replicate(255, 256-n_elements(rouge))] 
    5853; 
    5954; It rocks on the z device, allowing to create the picture without display it. 
     
    6762   device, set_resolution = [xsize, ysize] 
    6863; 
    69 ; Beginning of the gif file. Writing of an empty picture.  
     64; Beginning of the gif file. Writing of an empty picture. 
    7065; 
    7166   reinitplt 
     
    8075; Loop of picture's creation. 
    8176; 
    82    calen = TIMEGEN(366, START=JULDAY(1,1,2000))  
     77   calen = TIMEGEN(366, START=JULDAY(1,1,2000)) 
    8378   debut = where(calen EQ 19810105) 
    8479   debut = where(calen EQ 19790105) 
     
    10398;      plt, nlec('sss', date, 'ATF'), label = 2, /noerase 
    10499;      plt, nlec('htoth', date, 'RE3')-nlec('hpycn', date, 'RE3'), 10, 60, int = 5, /inv, /noerase 
    105 ;      domdef, 290,340,-5,15  
     100;      domdef, 290,340,-5,15 
    106101;      plt, norme(nlec('unsurf', date, 'RE3'), nlec('vnsurf', date, 'RE3')), 0, 1.2, int = .1, /noerase 
    107102; 
     
    109104; 
    110105      write_gif,iodir+nomfic,tvrd(),red, green, blue, /multiple 
    111    ENDFOR  
     106   ENDFOR 
    112107;---------------------------------------------------------------- 
    113108; End of the part we want to change. 
     
    115110; 
    116111; Closing of the file. 
    117    write_gif,iodir+nomfic,/close  
     112   write_gif,iodir+nomfic,/close 
    118113; Rerock on terminal X mode. 
    119114;   device, /close 
Note: See TracChangeset for help on using the changeset viewer.