Skip to content

Commit

Permalink
Fixes q4 shaded plot bug (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrPaulSharp authored Jan 14, 2025
1 parent b0cc39e commit d041a24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utilities/plotting/bayesShadedPlot.m
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ function bayesShadedPlot(problem, result, options)
% Get the limits and fits
limits = reflectivityValues{i};

min = limits(vals(1),:)./mult;
max = limits(vals(2),:)./mult;
min = limits(vals(1),:)'./mult;
max = limits(vals(2),:)'./mult;

reflectivity = reflectivity./mult;

Expand All @@ -77,7 +77,7 @@ function bayesShadedPlot(problem, result, options)

refXValues = result.reflectivity{i}(:,1);
thisSimQ4 = refXValues.^4;

switch options.q4
case true
min = min .* thisSimQ4;
Expand Down

0 comments on commit d041a24

Please sign in to comment.