Hi! I'm trying to figure out why my code isn't working? My code is only displaying the values in the second subplot, and I don't know why it does that?
level = 1:25;streakvalue = [0 60 120 180 240 300 360 420 480];for i = 1:length(streakvalue) hold all old = 110 + streakvalue(i) + level * 9.9; subplot(1,2,1);plot(old,level);yticks(1:2:25);grid on new = 100 + streakvalue(i) + level * 8; subplot(1,2,2);plot(new,level);yticks(1:2:25);grid onend
Best Answer