Plot multiple matrices in the same graph

조회 수: 2 (최근 30일)
Aziza Zaouga
Aziza Zaouga 2018년 7월 18일
댓글: KSSV 2018년 8월 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 :)

채택된 답변

KSSV
KSSV 2018년 7월 18일
figure
hold on
for i = 1:length(Delays_Array)
plot(Delays_Arrays{i}(:,1),Delays_Arrays{i}(:,2))
end
  댓글 수: 1
KSSV
KSSV 2018년 8월 30일
Aziza Zaouga commented: Thank you ,

댓글을 달려면 로그인하십시오.

추가 답변 (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