Plot not showing line fully

50 次查看(过去 30 天)
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])

类别

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