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

2 次查看(过去 30 天)
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 个评论
DGM
DGM 2021-12-27
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.
채원 이
채원 이 2021-12-29
There was a difference in the endpoint values ​​of the two data. Fortunately, I found it and fixed it. Thank you for your reply.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by