New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
std_plot_ZonMld.pro in trunk/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts – NEMO

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, 13 years ago

large update of IDL_scripts for Is-ENES

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