Ignore:
Timestamp:
2011-05-02T17:10:47+02:00 (10 years ago)
Author:
smasson
Message:

bugfix in IDL_scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_plot_S100m.pro

    r2751 r2760  
    1616  title = 'Salinity ('+sdepref+')!C'+std_file1_T 
    1717  plt, S1, MIN = 33., MAX = 38.2, INTER = .2, format = '(f4.1)' $ 
    18        , small = [1, 2, 1], COAST_THICK = 2, TITLE = title, boxzoom = [105., 106.], /PORTRAIT, _extra = ex 
     18       , small = [1, 2, 1], COAST_THICK = 2, TITLE = title, boxzoom = [floor(gdept[ind]), ceil(gdept[ind])], /PORTRAIT, _extra = ex 
    1919; 
    2020  if std_file1_T NE std_file2_T then begin 
    2121    title = title+ ' - '+std_file2_T 
    2222    plt, S1.arr[*, *, 0] - S2.arr[*, *, 0], MIN = -1., MAX = 1., INTER = .1, STYLE = 'so0so', format = '(f4.1)' $ 
    23          , small = [1, 2, 2], COAST_THICK = 2, TITLE = title, boxzoom = [105., 106.], /noerase, _extra = ex    
     23         , small = [1, 2, 2], COAST_THICK = 2, TITLE = title, boxzoom = [floor(gdept[ind]), ceil(gdept[ind])], /noerase, _extra = ex    
    2424  endif else begin 
    2525    title = title+ ' - Levitus' 
    2626    plt, S1.arr-SLev.arr, MIN = -1., MAX = 1., INTER = 0.1, STYLE = 'so0so', format = '(f4.1)' $ 
    27          , small = [1, 2, 2], COAST_THICK = 2, TITLE = title, boxzoom = [105., 106.], /noerase, _extra = ex 
     27         , small = [1, 2, 2], COAST_THICK = 2, TITLE = title, boxzoom = [floor(gdept[ind]), ceil(gdept[ind])], /noerase, _extra = ex 
    2828  endelse 
    2929 
Note: See TracChangeset for help on using the changeset viewer.