Hello! I am trying to plot multiple lines on the same graph but "hold on" is not working it is still printing as separate graphs. Some tips would help, thank you!
Code below.
clc;t = linspace(0,1,1000);yinitial = 5;r1 = 5;y1 = yinital * exp(r1*t);figure, plot(y1)hold onr2= 10;y2 = yinital * exp(r2*t);figure, plot(y2)
Best Answer