Solution # 1: Draw both sets of points on the same axes
plot(softmax(:,1),softmax(:,2),'b.', softmaxretro(:,1),softmaxretro(:,2),'r.')
or you can use the hold command:
plot(softmax(:,1), softmax(:,2), 'b.') hold on plot(softmaxretro(:,1), softmaxretro(:,2), 'r.') hold off
Solution # 2: draw each on separate axes side by side in the same drawing
subplot(121), plot(softmax(:,1), softmax(:,2), 'b.') subplot(122), plot(softmaxretro(:,1), softmaxretro(:,2), 'r.')
source share