Plot multiple matrices in the same graph
4 次查看(过去 30 天)
显示 更早的评论
Hello, I have an array initialized as follows
Delays_Array{N}= [];
and every 'Delays_Array{i}' has 2 columns and a variable number of rows. in the end of my program, i want to plot every 'Delays_Array{i}' in the same figure. Can you help me please ? thank you in advance :)
0 个评论
采纳的回答
KSSV
2018-7-18
figure
hold on
for i = 1:length(Delays_Array)
plot(Delays_Arrays{i}(:,1),Delays_Arrays{i}(:,2))
end
更多回答(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!