Ignore:
Timestamp:
07/21/06 14:47:49 (18 years ago)
Author:
navarro
Message:

english and nicer header (2a)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/PLOTS/DESSINE/sbar_plot.pro

    r134 r142  
    33;------------------------------------------------------------ 
    44;+ 
    5 ; NAME:sbar_plot (super bar_plot) 
    65; 
    7 ; PURPOSE: meme chose que bar_plot mais compatible avec l''ensemble de 
    8 ; l'environnement (common.pro est inclu) 
     6; @file_comments  
     7; Same thing that bar_plot but compatible with the whole environnement (common.pro inclued) 
    98; 
    10 ; CATEGORY:dessine 
     9; @categories graphics 
    1110; 
    12 ; CALLING SEQUENCE: sbar_plot,y 
    13 ;  
    1411; INPUTS: cd IDL>?bar_plot 
    1512; 
    16 ; KEYWORD PARAMETERS: 
     13; @keyword COLORS  
     14; A vector, the same size as VALUES, containing the color index 
     15; to be used for each bar.  If not specified, the colors are 
     16; selected based on spacing the color indices as widely as 
     17; possible within the available colors (specified by D.N_COLORS). 
    1718; 
    18 ;  meme que ceux de bar_plot avec en plus: 
    19 ;      COLORS: un entier donnant la couleur de toutes les barres de 
    20 ;      couleurs. (contrairement a colors qui est en vecteur donnant le 
    21 ;      couleur de chaque barre de couleur. 
     19; @keyword COLORS  
     20; Is an integer giving color of all colorbars. (contrarily to colors  
     21; which is a vector giving the color of each colorbar). 
    2222; 
    23 ;      NOREINITPLT: a actier si on ne veut pas que les variables 
    24 ;      d''environnemet !p, !x, !y, !z soient reinitialisees par la 
    25 ;     procedure reinitplt 
     23; @keyword NOREINITPLT 
     24; We active it if we do not want environnement variables !p, !x, !y, !z  
     25; to be reinitilalizted by the procedure reinitplt 
    2626; 
    27 ; OUTPUTS: 
     27; @keyword _EXTRA 
     28; used to pass your keyword 
    2829; 
    29 ; COMMON BLOCKS:common.pro 
     30; @uses 
     31; common.pro 
    3032; 
    31 ; SIDE EFFECTS: 
     33; @restrictions  
     34; If NOREINITPLT is not activated, all environnement  
     35; variables !p, !x, !y, !z are reinitializtedby the procedure reinitplt 
    3236; 
    33 ;   Si NOREINITPLT n''est pas ective toutes les variables 
    34 ;      d''environnemet !p, !x, !y, !z sont reinitialisees par la 
    35 ;      procedure reinitplt 
    36 ; 
    37 ; RESTRICTIONS: 
    38 ; 
    39 ; EXAMPLE: 
    40 ; 
     37; @examples 
    4138;      IDL> sbar_plot, indgen(10),small = [2,2,2],/rempli 
    4239;      IDL> sbar_plot, indgen(10),small = [2,2,3],/noerase 
    43 ;      IDL> @ps 
     40;      IDL> \@ps 
    4441; 
    45 ; MODIFICATION HISTORY:Sebastien Masson (smasson@lodyc.jussieu.fr) 
     42; @history 
     43; Sebastien Masson (smasson@lodyc.jussieu.fr) 
    4644;                      10/10/1999 
     45; 
     46; @version 
     47; $Id$ 
     48; 
    4749;- 
    4850;------------------------------------------------------------ 
     
    5557; 
    5658@common 
    57 ; 1) je reinitialise l''environnememt graphique (les variables !x, !y et !p):  
     59; 1) I reinitialize the graphic environment (variables !x, !y et !p):  
    5860   if NOT keyword_set(NOREINITPLT) then reinitplt, _extra = ex  
    59 ; 2) je place le dessin a l'ecran comme sur le postcript  
     61; 2) I place the drawing on the screen like on the postscript  
    6062   IF chkstru(ex, 'overplot')EQ 0 THEN placedessin, 'autre', _extra = ex 
    61 ; 3) je fais mon joli dessin  
     63; 3) Drawing  
    6264   if n_elements(COLORS) NE 0 then BEGIN 
    6365      if n_elements(COLORS) EQ n_elements(Values) then col = colors $ 
     
    6769   bar_plot, Values, background = !p.background, colors = col $ 
    6870             , xstyle = 1, ystyle = 1, _extra = ex 
    69 ; 4) je termine le dessin  
     71; 4) End of drawing  
    7072   terminedessin, _extra=ex  
    7173 
Note: See TracChangeset for help on using the changeset viewer.