Starting and ending multiple plots at the same point on the same figure

조회 수: 2(최근 30일)
Ahmad Badran
Ahmad Badran 2021년 10월 30일
댓글: Ahmad Badran 2021년 10월 31일
Hello,
i'm trying to make all of these plots start and end at 0 on the y axis any idea how i can make it in a loop?
figure
for i=1:length(Volzyklus)-1
plot(Volzyklus{i})
title("Volumen/Zeit")
xlabel("Zeit in mS")
ylabel("in Litern")
hold on
end

답변(1개)

VBBV
VBBV 2021년 10월 31일
Use axis after the plot
axis([0 12000 0 0.8])
  댓글 수: 1
Ahmad Badran
Ahmad Badran 2021년 10월 31일
Thank you , but that is not what i meant.
i wanted the actual plots to be detrended and start and end at 0.

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

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by