Answers for "plot multuple lines in matlab"

0

matlab plotting multiple lines on one graph

y = 0:0.2:1;

for x = 0:0.2:1
    hold on
    plot(x*ones(size(y)),y, 'Color', 'black')
end
Posted by: Guest on November-25-2020

Browse Popular Code Answers by Language