How to separate two graphs plotted in one figure into two separate figures?
30 views (last 30 days)
What I am trying to do is to have one plot with the orange graph and another plot with the blue graph. However, right now the orange and blue graphs are being plotted together in one plot. How should I modify my code so that they are no longer plotted together in one plot?
Thanks in advance for your help.
Dave B on 6 Aug 2021
Edited: Dave B on 6 Aug 2021
Is neural.Spikes two columns?
nexttile % starting in R2019b, in older versions subplot(1,2,1)
nexttile % starting in R2019b, in older versions subplot(1,2,2)
(If it's two rows, replace the (:,1) with (1,:) and (:,2) with (2,:))
t = 1:100;
spks = rand(100,2);