Plot not showing line fully

22 vues (au cours des 30 derniers jours)
steffen seligmann
steffen seligmann le 20 Oct 2020
my plot does not show the line for certain areas. Any idea what the problem is?
  4 commentaires
steffen seligmann
steffen seligmann le 20 Oct 2020
if i zoom in it shows the line for some reason
Ameer Hamza
Ameer Hamza le 20 Oct 2020
Can you attach the data in a .mat file?

Connectez-vous pour commenter.

Réponse acceptée

Star Strider
Star Strider le 20 Oct 2020
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 commentaires
Ameer Hamza
Ameer Hamza le 20 Oct 2020
@steffen, Try
opengl software
Maybe it will fix issues with the graphics rendering.
steffen seligmann
steffen seligmann le 20 Oct 2020
@ameer, i think that actually worked. Thanks!

Connectez-vous pour commenter.

Plus de réponses (1)

Fangjun Jiang
Fangjun Jiang le 20 Oct 2020
Might it contain nan?
plot([1:3,nan,nan,4:6])
  1 commentaire
steffen seligmann
steffen seligmann le 20 Oct 2020
i commented above since u both suggest the same problem

Connectez-vous pour commenter.

Catégories

En savoir plus sur Graphics Performance dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by