diff --git a/utilities/plotting/bayesShadedPlot.m b/utilities/plotting/bayesShadedPlot.m index 11d3b6b59..dd55b956c 100644 --- a/utilities/plotting/bayesShadedPlot.m +++ b/utilities/plotting/bayesShadedPlot.m @@ -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; @@ -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;