why is line function not working?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hai,
I used the line() function. It is not drawing the line between the points I specified, it is just blank. Why is it so? Looking for your reply.
BSD
댓글 수: 1
Jan
2011년 9월 26일
There is a bug in the command. If you post it, we can find it. If you do not post it, we can guess, what the problem might be. But this can be more confusing than not answering.
채택된 답변
Fangjun Jiang
2011년 9월 26일
You probably specified it wrong.
line([x1 x2],[y1 y2]), not line([x1,y1],[x2,y2])
line([0 1],[0 1]), not line([0 0],[1 1])
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!