Skip to content

Commit

Permalink
Switch cases for different comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Sep 27, 2019
1 parent b398fe1 commit eb1c674
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions Matlab_Toolbox/Post_TestCases.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,23 @@
%% Plot Data
% Will want to (un)comment desired cases to plot

% Below Rated
% Pl_FastPlots(fo.Step_Legacy, fo.Step_Baseline)

% Below Rated
% Pl_FastPlots(fo.BR_Legacy, fo.BR_Baseline)

% Near Rated
% Pl_FastPlots(fo.NR_Legacy, fo.NR_Baseline)
% Usable Plot types:
% - Step, Blow Rated, Near Rated, Above Rated, Floating
plottype = 'Floating';

% % Above Rated
% Pl_FastPlots(fo.AR_Legacy, fo.AR_Baseline)

% % Floating, Above Rated steady
Pl_FastPlots(fo.OC4_ARsteady_Legacy, fo.OC4_ARsteady_Baseline)
% Below Rated
switch plottype
case 'Step'
Pl_FastPlots(fo.Step_Legacy, fo.Step_Baseline)
case 'Below Rated'
Pl_FastPlots(fo.BR_Legacy, fo.BR_Baseline)
case 'Near Rated'
Pl_FastPlots(fo.NR_Legacy, fo.NR_Baseline)
case 'Above Rated'
Pl_FastPlots(fo.AR_Legacy, fo.AR_Baseline)
case 'Floating'
Pl_FastPlots(fo.OC4_ARsteady_Legacy, fo.OC4_ARsteady_Baseline)
end



Expand Down

0 comments on commit eb1c674

Please sign in to comment.