Multiply imline in one figure
1 次查看(过去 30 天)
显示 更早的评论
Hi,
When I am using imline I only get the start and end point of the line(blue), is it possible to start another imline (in black) from the blue line middle (marked as red)?
Thanks
0 个评论
回答(1 个)
Azzi Abdelmalek
2013-10-27
h1 = imline(gca,[10 100], [100 100]);
setColor(h1,[0 1 1]);
h2=imline(gca,[10+50 10+50], [100 200])
setColor(h2,[1 0 0]);
3 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 NaNs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!