I have the following code to plot one graphic:
plot(softmax(:,1), softmax(:,2), 'b.')
and then this one to plot another:
plot(softmaxretro(:,1), softmaxretro(:,2), 'r.')
Now I'd like to be able to plot both ones in the same place. How can I accomplish that?
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
subplot(121), plot(softmax(:,1), softmax(:,2), 'b.')
subplot(122), plot(softmaxretro(:,1), softmaxretro(:,2), 'r.')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With