source: trunk/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_plot_ZonMld.pro @ 2751

Last change on this file since 2751 was 2751, checked in by smasson, 10 years ago

large update of IDL_scripts for Is-ENES

File size: 1.3 KB
Line 
1pro std_plot_ZonMld, MLD1, MLD2, MLD, POSTSCRIPT = postscript, _extra = ex
2
3  compile_opt idl2, strictarrsubs
4
5@common 
6@std_common
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                                ;
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
20                                ;
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
24                                ;
25  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
27
28  htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png  />  ' ]
29  if KEYWORD_SET(postscript) then closeps
30
31  return
32end
Note: See TracBrowser for help on using the repository browser.