Ignore:
Timestamp:
04/24/06 10:40:41 (18 years ago)
Author:
pinsard
Message:

1st commit according to cerbere.lodyc.jussieu.fr:/usr/home/smasson/IDL_RD/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PLOTS/DESSINE/plt.pro

    r2 r7  
    489489      map_lon = map[1] 
    490490      map_rot = map[2] 
    491       if n_elements(ex) NE 0 then BEGIN  
    492          if (where(tag_names(ex) EQ 'TITLE'))[0] NE -1 then BEGIN  
    493             titre = ex.title  
    494             ex.title = '' 
    495          endif 
    496       ENDIF 
     491      if chkstru(ex, 'TITLE') then begin 
     492         maptitre = ex.title  
     493         ex.title = '' 
     494      endif 
    497495      map_set, map_lat, map_lon, map_rot, _extra = ex, position = posfenetre, /iso $ 
    498496       ,limit = [lat1, lon1, lat2, lon2], /noborder 
     497      if n_elements(maptitre) ne 0 then ex.title = maptitre 
    499498      if n_elements(tri) GE 2 then tri = ciseauxtri(tri, glam, gphi, _EXTRA = ex) 
    500499      if n_elements(trimsk) GE 2 then trimsk = ciseauxtri(trimsk,glammsk,gphimsk,_EXTRA=ex) 
     
    617616            ex.noerase = 1 
    618617         endif 
     618         if chkstru(ex, 'SUBTITLE') then !p.subtitle = ex.SUBTITLE 
     619         if n_elements(maptitre) ne 0 then ex.title = maptitre 
    619620         map_set, map_lat, map_lon, map_rot, _extra = ex, /iso, limit = [lat1, lon1, lat2, lon2]$ 
    620621          , /NOERASE, /noborder, title = !p.title, color = 0 
Note: See TracChangeset for help on using the changeset viewer.