I'm having trouble drawing lines.

2 views (last 30 days)
Muhendisleksi
Muhendisleksi on 17 Aug 2017
Commented: Muhendisleksi on 17 Aug 2017
There are two lines from 102 to 103 but they do not appear;
  5 Comments
KSSV
KSSV on 17 Aug 2017
Copy the code....don't attach it as image...
Muhendisleksi
Muhendisleksi on 17 Aug 2017
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.

Answers (0)

Categories

Find more on Graphics in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!