Plot not showing line fully

조회 수: 15 (최근 30일)
steffen seligmann
steffen seligmann 2020년 10월 20일
댓글: steffen seligmann 2020년 10월 20일
my plot does not show the line for certain areas. Any idea what the problem is?
  댓글 수: 4
steffen seligmann
steffen seligmann 2020년 10월 20일
if i zoom in it shows the line for some reason
Ameer Hamza
Ameer Hamza 2020년 10월 20일
Can you attach the data in a .mat file?

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

채택된 답변

Star Strider
Star Strider 2020년 10월 20일
There may be some problem with the graphics rendering. See if an update to your graphics driver is available.
Otherwise, adding:
'LineWidth',1.5
to your plot call might be a work-around.
  댓글 수: 4
Ameer Hamza
Ameer Hamza 2020년 10월 20일
@steffen, Try
opengl software
Maybe it will fix issues with the graphics rendering.
steffen seligmann
steffen seligmann 2020년 10월 20일
@ameer, i think that actually worked. Thanks!

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

추가 답변 (1개)

Fangjun Jiang
Fangjun Jiang 2020년 10월 20일
Might it contain nan?
plot([1:3,nan,nan,4:6])
  댓글 수: 1
steffen seligmann
steffen seligmann 2020년 10월 20일
i commented above since u both suggest the same problem

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

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by