Ignore:
Timestamp:
05/02/06 17:12:07 (18 years ago)
Author:
pinsard
Message:

upgrade of PLOTS/VECTEUR according to cerbere.lodyc.jussieu.fr: /usr/home/smasson/SAXO_RD/ : files

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/ToBeReviewed/PLOTS/VECTEUR/vecteur.pro

    r39 r41  
    8484; quelle est la longeur en coordonnees normales d''un trait qui fera 1 
    8585; cm sur le parier et qui est parallele a x? 
    86    sizexfeuille = petitfeuille*key_portrait+grandfeuille*(1-key_portrait) 
    87    sizeyfeuille = grandfeuille*key_portrait+petitfeuille*(1-key_portrait) 
     86  mipgsz = min(page_size, max = mapgsz) 
     87   sizexfeuille = mipgsz*key_portrait+mapgsz*(1-key_portrait) 
     88   sizeyfeuille = mapgsz*key_portrait+mipgsz*(1-key_portrait) 
    8889   cm_en_normal = 1./sizexfeuille 
    8990; 
     
    217218; definition de nu 
    218219   radius = replicate(1,nxgd*nygd) 
    219    coord_sphe = transpose([ [(glamu[indice2d])[*]], [(gphiu[indice2d])[*]], [radius(*)] ]) 
     220   IF finite(glamu[0]*gphiu[0]) NE 0 THEN $ 
     221     coord_sphe = transpose([ [(glamu[indice2d])[*]], [(gphiu[indice2d])[*]], [radius(*)] ]) $ 
     222   ELSE coord_sphe = transpose([ [(glamf[indice2d])[*]], [(gphit[indice2d])[*]], [radius(*)] ]) 
    220223   r = cv_coord(from_sphere=coord_sphe,/to_rect,/degrees) 
    221224; coordonnes de points de la grille u en cartesien 
     
    228231   nuz = uz-shift(uz, 1, 0) 
    229232; conditions aux limites 
    230    if NOT keyword_set(key_periodique) OR nxgd NE jpi then begin 
     233   if NOT keyword_set(key_periodic) OR nxgd NE jpi then begin 
    231234      nux[0, *] = nux[1, *] 
    232235      nuy[0, *] = nuy[1, *] 
     
    238241   nuz = nuz[reduitindice2d] 
    239242; definition de nv 
    240    coord_sphe = transpose([ [(glamv[indice2d])[*]], [(gphiv[indice2d])[*]], [radius(*)] ]) 
     243   IF finite(glamv[0]*gphiv[0]) NE 0 THEN $ 
     244   coord_sphe = transpose([ [(glamv[indice2d])[*]], [(gphiv[indice2d])[*]], [radius(*)] ]) $ 
     245   ELSE coord_sphe = transpose([ [(glamt[indice2d])[*]], [(gphif[indice2d])[*]], [radius(*)] ])                 
    241246   r = cv_coord(from_sphere=coord_sphe,/to_rect,/degrees) 
    242247; coordonnes de points de la grille v en cartesien 
     
    353358; 
    354359   if NOT keyword_set(cmref) then BEGIN  
    355       sizexfeuille = petitfeuille*key_portrait+grandfeuille*(1-key_portrait) 
     360      mipgsz = min(page_size, max = mapgsz) 
     361      sizexfeuille = mipgsz*key_portrait+mapgsz*(1-key_portrait) 
    356362      sizexfeuille = 10.*sizexfeuille 
    357363      cmref = 5 > floor(sizexfeuille/10.) < 15 
Note: See TracChangeset for help on using the changeset viewer.