I have multiple plots in same axes so i want to have 2 separate lines connecting the plots respectively. However my line is not showing eventhough my x and 0 marker shows up. What is the problem in my linespec?
for i=1:20; %TR1 is my output 1 and TY is my output 2 %
plot(i,TR1(i),'-rx',i,TY(i),'-bo','LineWidth',2) if i == 1 hold on endendhold off
Here is the figure i get
P/S: my matlab version is R2018a
Best Answer