

TA = [ 0.  0.75  1.5  2.25  3.  3.75  4.5  5.25  6.  6.75  7.5  8.25  9.  9.75  10.5 11.25  12.  12.75  13.5  14.25  15.  15.75  16.5  17.25  18.  18.75  19.5 20.25  21.  21.75  22.5  23.25  24.  24.75  25.5  26.25  27.  27.75  28.5 29.25  30.  30.75  31.5 32.25  33.  33.75  34.5  35.25  36.  36.75  37.5 38.25  39.  39.75  40.5  41.25  42.  42.75  43.5  44.25  45.  45.75  46.5 47.25  48.  48.75  49.5  50.25  51.  51.75  52.5 53.25  54.  54.75  55.5 56.25  57.  57.75  58.5  59.25  60.  60.75  61.5  62.25  63.  63.75  64.5 65.25  66.  66.75  67.5  68.25  69.  69.75  70.5  71.25  72.  72.75  73.5 74.25  75.  75.75  76.5  77.25  78.  78.75  79.5  80.25  81.  81.75  82.5 83.25  84.  84.75  85.5  86.25  87.  87.75  88.5  89.25  90.  90.75  91.5 92.25  93.  93.75  94.5 95.25  96.  96.75  97.5  98.25  99.  99.75  100.5 101.25  102.  102.75  103.5  104.25 105.  105.75  106.5  107.25  108.  108.75  109.5  110.25  111.  111.75  112.5  113.25 114.  114.75  115.5 116.25  117.  117.75  118.5  119.25  120. ];

DIVA = [ 129.578583  123.880013  116.288696  105.90654  94.1597366  82.6383057 73.2170944  67.5186081  66.0040512  67.8151703  71.0937195  72.927475 71.6348419 66.8834229  59.2534561  50.091671  40.0341988  30.5939617 26.6681976  31.6725712 42.0644836  53.0518951  63.440773  71.9301605 77.9953232  81.4843445  82.5944748 81.9352036  80.1646194  78.2537537 77.34655  78.420845  81.7749481  86.8489532 92.0243988  96.2577209 98.7618027  99.0391388  96.8917084  92.4193649  85.957695 78.0113907 69.2142868  60.2946396  52.2327347  47.2927551  45.1243324  44.4148445 44.08321  43.3337975  41.8616104  39.9911728  37.8573723  35.9465485 35.5267487 37.914856  43.4474792  51.2163582  59.5439072  67.512352 74.5102234  80.1058197 84.0701752  86.3130646  86.928299  86.1581345 84.3921585  82.1867523  80.1294022 78.7611771  78.3246613  78.6210175 79.0992737  79.1260071  78.2029114  76.0258408 72.4644699  67.5449448 61.4234924  54.3515625  46.6778412  39.2778702  33.4309998 30.1140747 29.5707016  30.8997765  33.4501381  36.2238388  38.7863083  41.0092773 43.041687  45.1901093  47.8438492  51.2600822  55.540596  60.7267456 66.1768036 71.1881256  75.3513794  78.3664932  80.0755234  80.4366379 79.5425186  77.5870209 74.8421249  71.6485062  68.354805  65.265892 62.5538292  60.1882782  57.9754562 55.6664925  53.0019112  49.8035736 45.985054  41.6005058  36.8524437  32.1528435 28.3485146  26.3408165 26.0293999  28.2045326  32.9152832  37.7638779  42.297596 46.3038979 49.7210007  52.5935326  55.0373802  57.2274628  59.3454514  61.5400543 63.8715401  66.2562256  68.4942322  70.318779  71.4929276  71.8351135 71.2531433 69.7371063  67.3266754  64.162735  60.4177742  56.2985115 52.0293846  47.8664284 44.0062943  40.5306358  37.4325485  34.7359619 32.3776855  30.2723274  28.4853306 27.3061352  26.9944954  27.7816982 30.2734375  34.4472351  39.0844078  43.6643372 47.9633751  ];

DIVB = [ 0.2127361  42.8074074  72.7526703  86.673233  86.1459656  78.1329041 72.2815475  72.383049  77.0937424  77.1603622  67.99543  51.9745522 40.9366417  45.8427124  48.9340096  47.4043388  48.1616211  48.4451447 47.4021187  46.4933472  45.0611801  39.8797722  30.4898968  25.6070061 30.3520145  41.6900101  52.513916  58.7632713  60.0563393  58.399807 56.6536179  55.8851585  55.0794029  52.2580528  46.9138107  40.2615128 34.5671387  31.0196877  29.5622139  31.6733456  34.9020119  36.7836075 37.5244484  37.7421608  37.941391  38.2029686  38.3276596  38.7277794 39.9267845  41.5272217  42.7906075  43.1916122  42.8495827  41.9233932 40.3494186  38.0489807  35.067234  31.6467152  28.2412548  25.4611912 23.991436  25.5749817  30.2525787  34.870739  38.6758652  41.6328926 43.8028564  45.1961708  45.8584328  45.8475838  45.2281456  44.0943985 42.5073624  40.5070381  38.1139297  35.395813  32.4950104  29.5884857 26.9557152  24.869175  24.3952465  25.2161674  26.6576939  28.5532169 30.6061363  32.5842361  34.3088837  35.684845  36.7089806  37.3698921 37.636322  37.4991913  36.9818153  36.134716  35.0215874  33.7221985 32.3357391  30.9002762  29.4727955  28.2295113  27.6937866  28.7271976 30.6129513  32.6334419  34.5130882  36.0859604  37.2486382  37.9215736 38.0620689  37.6593513  36.7257843  35.3403969  33.5864296  31.6154289 29.6240311  27.6466808  25.7443256  24.0118484  22.5692005  21.5702591 21.5680923  22.518446  24.023447  25.7119884  27.429409  29.0745087 30.5794716  31.9537125  33.2068748  34.1877365  34.8352966  35.104084 34.9829559  34.473381  33.6086578  32.4659729  31.1391487  29.7774506 28.5838661  27.8510418  27.8437939  28.4292068  29.3244762  30.3155727 31.2367115  31.9733906  32.4558907  32.6560974  32.561657  32.2202072 31.6742496  30.9908466  30.2491684  29.4903126  28.7535763  28.0600834 27.4337559  26.9094219  26.5408611  26.3895168  26.5827847  ];

DIVC = [ 49.8687897  47.757885  46.376915  45.0495872  44.509655  44.4910011 44.9266243 45.2692986  44.93787  43.9184494  43.333271  42.9897118 42.9323807  42.9399261 43.0343437  43.3421173  44.124794  44.8084908 45.1938477  45.2866631  45.1286125 44.8016167  44.4950104  44.0289192 43.4658279  42.9169121  42.5006409  42.336113 42.4649353  42.8268394 43.3000526  43.689003  43.8896103  43.8906898  43.81213 43.6482773 43.4875717  43.3747902  43.2977791  43.2427711  43.1799583  42.9816208 42.6475716  42.1971016  41.7027054  41.2396736  40.8840714  40.7026062 40.7194366 40.8652611  41.1046677  41.442524  41.8698158  42.4022179 43.0231705  43.6435852 44.1869621  44.6135254  44.8906021  45.0230217 45.023037  44.924511  44.760479 44.5568962  44.3873901  44.2172394 44.0336227  43.8638115  43.7126503  43.5985718 43.56847  43.6053162 43.67519  43.7349663  43.7723122  43.7392731  43.6383781 43.4735298 43.2617302  43.0372734  42.7884789  42.5262146  42.2786751  42.0410652 41.8446312  41.7008057  41.6260033  41.6342354  41.7149353  41.8468895 42.02882 42.2449074  42.4677658  42.688942  42.911232  43.0914917 43.2115211  43.2602196 43.2354126  43.128376  42.9486122  42.7013512 42.4115295  42.0871162  41.758297 41.4335251  41.1266479  40.8579025 40.6254463  40.456192  40.3074837  40.1998405 40.111557  40.0251122 39.9651909  39.8905106  39.84412  39.8268089  39.8535461 39.9257469 40.0170517  40.1300201  40.2252045  40.3191719  40.4196739  40.5139771 40.6292152  40.7504539  40.8967323  41.059124  41.2386742  41.4259872 41.6073303 41.7907753  41.9260864  42.0523186  42.1144714  42.135498 42.1066589  42.0233765 41.9125099  41.7571564  41.6032219  41.4333496 41.271759  41.144104  41.0344963 40.97575  40.95644  40.9914055  41.0691872 41.1823845  41.3358994  41.4941978  41.676918 41.8593102  42.0283279 42.197216  42.3397217  42.4587479  42.5535851 ];

  PL1 = subplot(1,1,1); 
  TX = 33;
  plot(TA(1:TX),DIVA(1:TX),'-','LineWidth',2); hold on
  plot(TA(1:TX),DIVB(1:TX),'--','LineWidth',2);
  plot(TA(1:TX),DIVC(1:TX),':','LineWidth',2);
  xlabel('Time (hours)');
  ylabel('10^8 \times ||\nabla.V||')
  title('\bf Mean Absolute Divergence')
  axis([0,24,0,140]);
  legend('Richardson','Rossby-Haurwitz','Five-day Wave');
  xax = [0,3,6,9,12,15,18,21,24]; % title('Y(1,2)');
  set(PL1,'XTick',xax);
  
  print -deps 'DivDiv.eps'
  
  % plot(TA(1:33),DIVA(1:33),TA(1:33),DIVB(1:33),TA(1:33),DIVC(1:33))
  % legend('Richardson','Rossby-Haurwitz','Hough Mode')

