how to concatenate graphs
2 次查看(过去 30 天)
显示 更早的评论
hello,
I have plotted 12 different graphs. Which is monthly energy for january, feb until december.
I want to combine/concatenate and generate one figure that shows energy for the whole year from jan to dec.
tq
0 个评论
回答(1 个)
David Sanchez
2013-6-19
did you try
hold on
after plotting the first graph and
hold off
right after the last one?
2 个评论
Michael Lam
2018-1-16
Hope it's still relevant, but just set your x values of next data after previous data. First turn hold on. Example: January has 31 days. Make February start on the 32. After doing this for all 12 months, turn hold off and you should get a plot of 365/366 days.
另请参阅
类别
在 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!