The graph is connected with hold, but the graph is cut off.

3 vues (au cours des 30 derniers jours)
채원 이
채원 이 le 27 Déc 2021
Commenté : 채원 이 le 29 Déc 2021
It connects two graphs. However, the part connecting the two graphs is broken. I do not know why.
(Figure 1 is an enlarged view of the two graphs in Figure 2.)
Figure 2
Figure 1
please solve. Thank you
  2 commentaires
DGM
DGM le 27 Déc 2021
Without knowing how the plots were created, all I can assume is that this discontinuity represents a mismatch in the endpoint values of the two data series. You might start by checking to see if the ending/starting values match. If this discontinuity occurs in the middle of one of the series, then there's probably a NaN somewhere.
You can always attach the graphing code and sample data if you want someone to take a look at it.
채원 이
채원 이 le 29 Déc 2021
There was a difference in the endpoint values ​​of the two data. Fortunately, I found it and fixed it. Thank you for your reply.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Line Plots 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