Ignore:
Timestamp:
05/11/06 12:35:53 (18 years ago)
Author:
smasson
Message:

debug + new xxx

Location:
trunk/ToBeReviewed/PLOTS
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/ToBeReviewed/PLOTS/.idlwave_catalog

    r68 r69  
    22;; IDLWAVE catalog for library saxo 
    33;; Automatically Generated -- do not edit. 
    4 ;; Created by idlwave_catalog on Tue Jan 24 17:06:19 2006 
     4;; Created by idlwave_catalog on Thu May  4 08:42:55 2006 
    55;; 
    66(setq idlwave-library-catalog-libname "saxo") 
  • trunk/ToBeReviewed/PLOTS/DESSINE/.idlwave_catalog

    r68 r69  
    22;; IDLWAVE catalog for library saxo 
    33;; Automatically Generated -- do not edit. 
    4 ;; Created by idlwave_catalog on Tue Jan 24 17:06:19 2006 
     4;; Created by idlwave_catalog on Thu May  4 08:42:55 2006 
    55;; 
    66(setq idlwave-library-catalog-libname "saxo") 
  • trunk/ToBeReviewed/PLOTS/DESSINE/pltt.pro

    r67 r69  
    417417         if keyword_set(OV1D) then begin 
    418418            yy = z2d 
    419             if n_elements(datmin) NE 0 then tempsmin = juldate(datmin, _extra = ex) $ 
     419            if n_elements(datmin) NE 0 then tempsmin = date2jul(datmin) $ 
    420420            ELSE tempsmin = temps[0] 
    421421; on shift l''axe du temps pour des questions de precision sur les 
     
    472472   case N_PARAMS() OF 
    473473      5 : begin 
    474          tempsmin = juldate(datmin, _extra = ex) 
     474         tempsmin = date2jul(datmin) 
    475475         tempsmax = temps[(jpt*repeat_c)-1] 
    476476      end 
    477477      6 : begin 
    478          tempsmin = juldate(datmin, _extra = ex) 
    479          tempsmax = juldate(datmax, _extra = ex) 
     478         tempsmin = date2jul(datmin) 
     479         tempsmax = date2jul(datmax) 
    480480      end 
    481481      else : begin 
  • trunk/ToBeReviewed/PLOTS/DESSINE/sbar_plot.pro

    r67 r69  
    1717; 
    1818;  meme que ceux de bar_plot avec en plus: 
    19 ;      COLOR: un entier donnant la couleur de toutes les barres de 
     19;      COLORS: un entier donnant la couleur de toutes les barres de 
    2020;      couleurs. (contrairement a colors qui est en vecteur donnant le 
    2121;      couleur de chaque barre de couleur. 
     
    5050;------------------------------------------------------------ 
    5151 
    52 PRO sbar_plot, Values, COLOR = color, NOREINITPLT = noreinitplt, _extra = ex  
     52PRO sbar_plot, Values, COLORS = colors, NOREINITPLT = noreinitplt, _extra = ex  
    5353@common 
    5454; 1) je reinitialise l''environnememt graphique (les variables !x, !y et !p):  
     
    5757   IF chkstru(ex, 'overplot')EQ 0 THEN placedessin, 'autre', _extra = ex 
    5858; 3) je fais mon joli dessin  
    59    if n_elements(COLOR) then BEGIN 
    60       if n_elements(COLOR) EQ n_elements(Values) then colors = color $ 
    61        ELSE colors = replicate(color[0], n_elements(Values)) 
    62    ENDIF ELSE colors = congrid(indgen(!d.n_colors < 256), n_elements(Values)) 
     59   if n_elements(COLORS) NE 0 then BEGIN 
     60      if n_elements(COLORS) EQ n_elements(Values) then col = colors $ 
     61       ELSE col = replicate(colors[0], n_elements(Values)) 
     62   ENDIF ELSE col = congrid(indgen(!d.n_colors < 256), n_elements(Values)) 
    6363; 
    64    bar_plot, Values, background = !p.background, colors = colors $ 
     64   bar_plot, Values, background = !p.background, colors = col $ 
    6565             , xstyle = 1, ystyle = 1, _extra = ex 
    6666; 4) je termine le dessin  
  • trunk/ToBeReviewed/PLOTS/DESSINE/tvplus.pro

    r35 r69  
    216216    plot, [0], [0], /nodata, /noerase, position = poscadre, color = 0 $ 
    217217          , xstyle = 1, ystyle = 1, xticklen = 1, yticklen = 1 $ 
    218           , xrange = 1.*[0, nx]/cellsize-.5+offset[0], yrange = 1.*[0, ny]/cellsize-.5+offset[1] 
     218          , xrange = 1.*[0, nx]/cellsize-.5+offset[0] $ 
     219          , yrange = 1.*[0, ny]/cellsize-.5+offset[1], _extra = ex 
    219220    xenvsauve = !x & yenvsauve = !y & penvsauve = !p 
    220221; 
  • trunk/ToBeReviewed/PLOTS/DIVERS/.idlwave_catalog

    r68 r69  
    22;; IDLWAVE catalog for library saxo 
    33;; Automatically Generated -- do not edit. 
    4 ;; Created by idlwave_catalog on Tue Jan 24 17:06:19 2006 
     4;; Created by idlwave_catalog on Thu May  4 08:42:55 2006 
    55;; 
    66(setq idlwave-library-catalog-libname "saxo") 
  • trunk/ToBeReviewed/PLOTS/DIVERS/checkfield.pro

    r37 r69  
    189189        'y':IF  ny NE nele THEN return, err_1d(type, nele,  'ny',  ny) 
    190190        'z':IF  nz NE nele THEN return, err_1d(type, nele,  'nz',  nx) 
    191         ELSE:return, report('Error: ' $ 
    192                             , 'Impossible to make a "'+type+'" plot with a 1D array', /simple) 
     191        ELSE:return, report(['Error: ' $ 
     192                            , 'Impossible to make a "'+type+'" plot with a 1D array'], /simple) 
    193193      ENDCASE 
    194194    END  
  • trunk/ToBeReviewed/PLOTS/DIVERS/placedessin.pro

    r37 r69  
    102102; portrair ou landscape 
    103103;-------------------------------------------------------------- 
    104   if n_elements(portrait) NE 0 then key_portrait = portrait $ 
    105   else if key_portrait ne 1 then key_portrait = 0 
    106   if n_elements(landscape) then key_portrait = 1-landscape 
     104  IF NOT keyword_set(noerase) THEN BEGIN  
     105    CASE 1 OF 
     106      n_elements(portrait) NE 0:key_portrait = portrait 
     107      n_elements(landscape) NE 0:key_portrait = 1-landscape 
     108      ELSE: 
     109    ENDCASE 
     110  ENDIF  
    107111;-------------------------------------------------------------- 
    108112; Quel type de rapport d''aspect (sera ecrase si YXASPECT existe) 
  • trunk/ToBeReviewed/PLOTS/LABEL/.idlwave_catalog

    r68 r69  
    22;; IDLWAVE catalog for library saxo 
    33;; Automatically Generated -- do not edit. 
    4 ;; Created by idlwave_catalog on Tue Jan 24 17:06:19 2006 
     4;; Created by idlwave_catalog on Thu May  4 08:42:55 2006 
    55;; 
    66(setq idlwave-library-catalog-libname "saxo") 
  • trunk/ToBeReviewed/PLOTS/VECTEUR/.idlwave_catalog

    r68 r69  
    22;; IDLWAVE catalog for library saxo 
    33;; Automatically Generated -- do not edit. 
    4 ;; Created by idlwave_catalog on Tue Jan 24 17:06:19 2006 
     4;; Created by idlwave_catalog on Thu May  4 08:42:55 2006 
    55;; 
    66(setq idlwave-library-catalog-libname "saxo") 
Note: See TracChangeset for help on using the changeset viewer.