From 01474af26ad1d418e400e48fb24f280675126a62 Mon Sep 17 00:00:00 2001 From: rebeccamccabe Date: Mon, 22 May 2023 14:04:22 -0400 Subject: [PATCH] add plot for capture width exceedance --- mdocean/simulation/run/check_max_CW.m | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mdocean/simulation/run/check_max_CW.m b/mdocean/simulation/run/check_max_CW.m index c5cec957..47cb8214 100644 --- a/mdocean/simulation/run/check_max_CW.m +++ b/mdocean/simulation/run/check_max_CW.m @@ -29,5 +29,13 @@ colorbar grid on title('CW / CW_{max}') + + figure + plot(p.T,ratio(1,:)) + xlabel('Wave Period T (s)') + ylabel('CW / CW_{max}') + hold on + plot([min(p.T) max(p.T)], [1 1], 'k--') + improvePlot end