Label variation in graph not following variation
1 view (last 30 days)
Hello guys, I am trying to variate my label with values of k from 0.1 to 0.9 for each line to show the dependance, but instead I always get k = 0.1. I attached the image and the data loaded in the plot function, and the code is shown below. Any help will be much appreciated.
scan_trous_carres0 = importdata(data_name0);
for k = 0.1:0.9
txt = ['X = ',num2str(k)];