Plotting the case of iteration
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Najiya Omar
am 22 Jan. 2018
Beantwortet: Najiya Omar
am 23 Jan. 2018
in the code below I want to see the plot has the names of all the cases of "0.1 to 1" each line indicates case; feature (0.1), feature (0.2) and so on till feature (1.0).
L =0.1:0.1:1.0;
tot=numel(L);
for i=1:tot
plot(x+i,y+i,'Color');
nam{i} = sprintf('feaures (%d)',i);
0 Kommentare
Akzeptierte Antwort
Birdman
am 22 Jan. 2018
L =0.1:0.1:1.0;
tot=numel(L);
hold on;
for i=1:tot
plot(x+i,y+i,'Color');
nam{i} = sprintf('feaures (%d)',i);
end
Weitere Antworten (1)
Najiya Omar
am 23 Jan. 2018
If I want to skip some cases like 0.3, 0.7 in the loop iteration and to be plotted
0 Kommentare
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!