MATLAB traçant plusieurs lignes sur un graphique

y = 0:0.2:1;

for x = 0:0.2:1
    hold on
    plot(x*ones(size(y)),y, 'Color', 'black')
end
Noob_Code