Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
why my plot not being displayed?
조회 수: 1 (최근 30일)
이전 댓글 표시
even when i run simple code like plot(x,y),my matlab is not displaying the figure.it is giving empty fig window.
댓글 수: 2
Walter Roberson
2019년 7월 16일
Do your x and y have more than one finite point? If x and y are scalar, by default MATLAB does not provide any markers for the points.
답변 (2개)
Jan
2019년 7월 16일
Try
plot(x, y, 'o')
to check, if x and/or y are scalars, which plot infinitesimal small dots only.
댓글 수: 0
Star Strider
2019년 7월 16일
If your code involves array division, remember to use element-wise division: ./ rather than /.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!