I'm having trouble drawing lines.

2 次查看(过去 30 天)
There are two lines from 102 to 103 but they do not appear;
  5 个评论
KSSV
KSSV 2017-8-17
Copy the code....don't attach it as image...
Muhendisleksi
Muhendisleksi 2017-8-17
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);

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by