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
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!