Multiply imline in one figure

조회 수: 2 (최근 30일)
hu
hu 2013년 10월 27일
댓글: hu 2013년 10월 27일
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

답변 (1개)

Azzi Abdelmalek
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
Azzi Abdelmalek
Azzi Abdelmalek 2013년 10월 27일
You mean like Autocad do. I don't know if it's possible
hu
hu 2013년 10월 27일
Yes, that will be what I am looking for. Any idea will be welcome.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 App Building에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by