Hi Naomi,
You can add zero value bars to add it to further I think.
Try that below:
%Data
Data=[8 12]
%Percent Increase
PI=[50]
Names={'Before','After','%Change', '','', 'other'}
figure name (One Vs The Other);
bar(1,Data(1),'FaceColor','g');
ylim([0,100]);
hold on
bar(2,Data(2),'FaceColor','b');
%I want the following bar to be spaced further out from the first two...)
bar(3,PI,'FaceColor','r');
bar(4,0);
bar(5,0);
bar(6,1,'FaceColor','m');
labels=(Names);
set(gca,'XTick',[1 2 3 4 5 6]);
set(gca,'XTickLabel',labels);
xlabel('Condition');
ylabel('Sales');
title('Sales Before and After Advertising');
box off
yyaxis right
ylabel('Percent Increase');