Commit b8f50733 authored by p.jhagema's avatar p.jhagema
Browse files

minor typo fix

parent 3b58d1cf
......@@ -51,7 +51,7 @@ function [result, settings] = projectionAlgorithm(PM, PS, guess, settings)
% interval in which the current state is updated
% roiSize: Default = [];
% Size of the preview for the current state. If this value is not set,
% the whole
% the whole array is shown.
% b0 : Default = 0.99
% Only used with RAAR. Starting value of relaxation parameter.
% bM : Default = 0.75
......
......@@ -185,7 +185,7 @@ end
if ~isnumeric(fresnelNumbers)
error('fresnelNumbers must be a single number, vector or matrix. Cell-arrays are not supported.');
end
if size(fresnelNumbers,2) ~= numHolos
if length(fresnelNumbers) ~= numHolos
error('size(fresnelNumbers,2) must be equal to the number of assigned holograms.');
end
if size(fresnelNumbers,1) ~= 1 && size(fresnelNumbers,1) ~= 2
......
......@@ -100,7 +100,8 @@ posScalebarY = figureAxes(4) * settings.posY;
% add scalebar and label to the figure
line([posScalebarX posScalebarX-scalebar],[posScalebarY posScalebarY],'LineWidth',...
settings.scalebarWidth,'Color',settings.scalebarColor);
text(posScalebarX - 0.5*scalebar, posScalebarY - figureAxes(2)*0.04, settings.scalebarText,...
text(posScalebarX - 0.5*scalebar, posScalebarY - 15. * settings.scalebarWidth, settings.scalebarText,...
'Color',settings.scalebarColor , 'FontSize',settings.fontSize,...
'HorizontalAlignment', 'center')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment