MATLAB Answers

0

I'm having trouble drawing lines.

Asked by Muhendisleksi on 17 Aug 2017
Latest activity Commented on by Muhendisleksi on 17 Aug 2017
There are two lines from 102 to 103 but they do not appear;

  5 Comments

KSSV
on 17 Aug 2017
Copy the code....don't attach it as image...
for i=1:2:length(kord)-1
dline=line([kord(i,2),kord(i+1,2)],[kord(i,3),kord(i+1,3)],'LineStyle','--','Color','b');
end
for i=1:2:length(kork)-1
kline=line([kork(i,2),kork(i+1,2)],[kork(i,3),kork(i+1,3)],'Color','r','LineWidth',0.5);
end
legend([kpoint,ypoint,dline,kline],'Kesin Koor.','Yaklaşık Koor.','Doğrultu Ölçü','Kenar Ölçü','Location','northoutside','Orientation','horizontal')
set(legend,'FontSize',12);

Sign in to comment.

Tags

0 Answers