필터 지우기
필터 지우기

Graph not lining up with the function

조회 수: 2 (최근 30일)
Philosophaie
Philosophaie 2017년 10월 20일
Graph not automatically lining up with the function x. The t axis goes from -1 to 2 instead of -2 to 2 and the x axis goes from 1 to 3 instead of 0 to 1 like the exp. How do I override the graph axis?
for t=-2:.1:2
x=exp(-1*t);
plot(x,t,'-r');
end;

답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by