6666function plot_tke_budget(T , P , D , y_norm_mth , mth )
6767
6868 load variables/user_inputs.mat ;
69-
69+ load reference_data/reference.mat ;
70+
7071 % Plot
7172 f1 = figure(" DefaultAxesFontSize" ,18 );
7273 set(f1 ," Position" ,[200 200 1000 700 ]);
@@ -82,40 +83,28 @@ function plot_tke_budget(T, P, D, y_norm_mth, mth)
8283 set(gca ,' TickLabelInterpreter' ,' latex' );
8384
8485 % Pantano & Sarkar (2002)
85- load reference_data/Pantano_Sarkar_2002/production.dat ;
86- load reference_data/Pantano_Sarkar_2002/transport.dat ;
87- load reference_data/Pantano_Sarkar_2002/dissipation.dat ;
8886 h2 = plot([-100 - 100 ],[-100 - 100 ],' ko' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
89- plot(transport (: ,1 ),transport (: ,2 ),' bo' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
90- plot(production (: ,1 ),production (: ,2 ),' go' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
91- plot(dissipation (: ,1 ),dissipation (: ,2 ),' ro' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
87+ plot(p2002_tke_transport (: ,1 ),p2002_tke_transport (: ,2 ),' bo' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
88+ plot(p2002_tke_production (: ,1 ),p2002_tke_production (: ,2 ),' go' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
89+ plot(p2002_tke_dissipation (: ,1 ),p2002_tke_dissipation (: ,2 ),' ro' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
9290
9391 % Rogers & Moser (1994)
94- load reference_data/Rogers_Moser_1994/production.dat ;
95- load reference_data/Rogers_Moser_1994/transport.dat ;
96- load reference_data/Rogers_Moser_1994/dissipation.dat ;
9792 h3 = plot([-100 - 100 ],[-100 - 100 ],' k^' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
98- plot(transport (: ,1 ),transport (: ,2 ),' b^' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
99- plot(production (: ,1 ),production (: ,2 ),' g^' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
100- plot(dissipation (: ,1 ),dissipation (: ,2 ),' r^' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
93+ plot(r1994_tke_transport (: ,1 ),r1994_tke_transport (: ,2 ),' b^' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
94+ plot(r1994_tke_production (: ,1 ),r1994_tke_production (: ,2 ),' g^' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
95+ plot(r1994_tke_dissipation (: ,1 ),r1994_tke_dissipation (: ,2 ),' r^' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
10196
10297 % Vaghefi (2014)
103- load reference_data/Vaghefi_2014/production.dat ;
104- load reference_data/Vaghefi_2014/transport.dat ;
105- load reference_data/Vaghefi_2014/dissipation.dat ;
10698 h4 = plot([-100 - 100 ],[-100 - 100 ],' k+' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
107- plot(transport (: ,1 ),transport (: ,2 ),' b+' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
108- plot(production (: ,1 ),production (: ,2 ),' g+' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
109- plot(dissipation (: ,1 ),dissipation (: ,2 ),' r+' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
99+ plot(v2014_tke_transport (: ,1 ),v2014_tke_transport (: ,2 ),' b+' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
100+ plot(v2014_tke_production (: ,1 ),v2014_tke_production (: ,2 ),' g+' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
101+ plot(v2014_tke_dissipation (: ,1 ),v2014_tke_dissipation (: ,2 ),' r+' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
110102
111- % Wang et al (2022)
112- load reference_data/Wang_et_al_2022/production.dat ;
113- load reference_data/Wang_et_al_2022/transport.dat ;
114- load reference_data/Wang_et_al_2022/dissipation.dat ;
103+ % Wang et al. (2022)
115104 h5 = plot([-100 - 100 ],[-100 - 100 ],' k*' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
116- plot(transport (: ,1 ),transport (: ,2 ),' b*' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
117- plot(production (: ,1 ),production (: ,2 ),' g*' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
118- plot(dissipation (: ,1 ),dissipation (: ,2 ),' r*' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
105+ plot(w2022_tke_transport (: ,1 ),w2022_tke_transport (: ,2 ),' b*' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
106+ plot(w2022_tke_production (: ,1 ),w2022_tke_production (: ,2 ),' g*' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
107+ plot(w2022_tke_dissipation (: ,1 ),w2022_tke_dissipation (: ,2 ),' r*' ,' LineWidth' ,2 ,' MarkerSize' ,8 );
119108
120109 legend([h1 ,h2 ,h3 ,h4 ,h5 ], {" $\mbox{Present}$" , ...
121110 " $\mbox{Pantano \& Sarkar (2002)}$" , ...
0 commit comments