Skip to content

Commit

Permalink
[color] different color for x and y?
Browse files Browse the repository at this point in the history
  • Loading branch information
bec5 committed Aug 13, 2013
1 parent 984155c commit d06c8eb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions @CompositeTOFObject/CompositeTOFObject.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d06c8eb

Please sign in to comment.