Plot not showing line fully

16 ビュー (過去 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 Center および File ExchangeGraphics Performance についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by