diff --git a/@CompositeTOFObject/CompositeTOFObject.m b/@CompositeTOFObject/CompositeTOFObject.m index 32abc01..9470b0f 100644 --- a/@CompositeTOFObject/CompositeTOFObject.m +++ b/@CompositeTOFObject/CompositeTOFObject.m @@ -13,13 +13,12 @@ style = {... 'o',... 'MarkerSize',4.5,... - 'MarkerFaceColor',colors{mod(i,length(colors))},... 'MarkerEdgeColor','k'}; for i=1:length(obj.seriesHandles) errorbar(obj.seriesHandles{i}.(obj.sortParameter),obj.seriesHandles{i}.xTemperature,... - obj.seriesHandles{i}.xTemperatureError,style{:},'Color',[0;25;205]/255.); + obj.seriesHandles{i}.xTemperatureError,style{:},'Color',[0;25;205]/255.,'MarkerFaceColor',[0;25;205]/255.); errorbar(obj.seriesHandles{i}.(obj.sortParameter),obj.seriesHandles{i}.yTemperature,... - obj.seriesHandles{i}.yTemperatureError,style{:},'Color',[205;38;38]/255.); + obj.seriesHandles{i}.yTemperatureError,style{:},'Color',[205;38;38]/255.,'MarkerFaceColor',[205;38;38]/255.); legend('xTemperature','yTemperature') % title([yProp ' vs ' xProp]) varargout{1}=h;