we're supposed to write the code for the plot in the attached image. So far I have the following code but the plot doesn't look like the one in the image:
p1.MarkerIndices = 1:10:length(x);
p2.MarkerIndices = 1:10:length(x);
p1.MarkerFaceColor = 'blue';
The first problem is that the line disappeared when I added the markers via MarkerIndices. The second problem is that the markers are not in the same spots as the ones in the attached image.
Does anybody have any ideas what I'm doing wrong and what I should do differently?
P.S. We're supposed to use handles to change the appearance of the plot.