- Timestamp:
- 2011-04-26T10:45:52+02:00 (13 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_plot_ZonMld.pro
r2733 r2751 1 pro xxx_ZonMxl, MXL1, MXL2, MLD, sEXP1, sEXP2, start_end, POSTSCRIPT = postscript, _extra = ex 2 3 @common 1 pro std_plot_ZonMld, MLD1, MLD2, MLD, POSTSCRIPT = postscript, _extra = ex 4 2 5 compile_opt idl2, strictarrsubs3 compile_opt idl2, strictarrsubs 6 4 7 8 if KEYWORD_SET(POSTSCRIPT) then begin 9 openps, '015_ZonMxl_'+sEXP1+'_'+sEXP2+'_y'+start_end+'.ps', portrait = 1 10 endif 11 5 @common 6 @std_common 12 7 8 cdti3 = string(cnt, format = '(i3.3)') 9 print, cdti3 + ') ' + blabla 10 filename = cdti3 + '_ZonMld_'+std_file1_T 11 if std_file1_T NE std_file2_T then filename = filename + '_'+std_file2_T 12 if KEYWORD_SET(postscript) then openps, filename+'.ps', portrait = 1 13 13 ; 14 title=sEXP1+' (Black) , '+sEXP2+' (Red) & Clim (Blue) Mxl10 / year '+start_end 15 plt1d, -MXL1.arr, MIN = -300., MAX = 0., INTER = 10., typein = 'y' $ 16 , small=[1,1,1], boxzoom=5500, ZOOM=500, CHARSIZE=.8, TITLE = title, /PORTRAIT, _extra=ex ; color by default = black 14 title = std_file1_T+' (Black)!C' 15 if std_file1_T NE std_file2_T THEN title = title + std_file2_T+' (Red)!C' 16 title = title + 'DeBoyer (Blue)!C' 17 18 plt1d, -MLD1.arr, MIN = -300., MAX = 0., INTER = 10., typein = 'y' $ 19 , small = [1, 1, 1], boxzoom = 5500, ZOOM = 500, CHARSIZE = .8, TITLE = title, /PORTRAIT, _extra = ex 17 20 ; 18 plt1d, -MXL2.arr, MIN = -300., MAX = 0., INTER = 10., typein = 'y' $ 19 , /ov1d, COLOR = 250, TITLE = title, /NOERASE, _extra = ex ; color 250 = red 21 IF std_file1_T NE std_file2_T THEN $ 22 plt1d, -MLD2.arr, MIN = -300., MAX = 0., INTER = 10., typein = 'y' $ 23 , /ov1d, COLOR = 250, TITLE = title, /NOERASE, _extra = ex ; color 250 = red 20 24 ; 21 plt1d, -MLD.arr, MIN = -300., MAX = 0., INTER = 10., typein = 'y' $22 , /ov1d, COLOR = 100, THICK = 3, TITLE = title, /NOERASE, _extra = ex ; color 100 = blue25 plt1d, -MLD.arr, MIN = -300., MAX = 0., INTER = 10., typein = 'y' $ 26 , /ov1d, COLOR = 100, THICK = 3, TITLE = title, /NOERASE, _extra = ex ; color 100 = blue 23 27 24 title = 'Mxl field' 25 text = [ title, '<img width="80%" src=/Users/sflod/TOOLS/my_IDL/PS/'+sEXP1+'_'+sEXP2+'/ps/015_ZonMxl_'+sEXP1+'_'+sEXP2+'_y'+start_end+'.png /> ' ] 26 putfile, '/tmp/prova.txt', text 28 htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png /> ' ] 29 if KEYWORD_SET(postscript) then closeps 27 30 28 29 if KEYWORD_SET(POSTSCRIPT) then begin 30 closeps 31 endif 32 33 return 31 return 34 32 end
Note: See TracChangeset
for help on using the changeset viewer.