How to scale a graph
이전 댓글 표시

My graph is the at the bottom one (second graph), but it supposed to look like the one above it (first graph). The values (x,y) are the same. Is there a way to scale it like the first graph?
My code
figure(1)
plot(Idx,Deflection,'-b','linewidth',1);
댓글 수: 1
Walter Roberson
2020년 3월 6일
axis equal
답변 (2개)
Andy
2020년 3월 9일
1 개 추천
Use this immediately after the plot command to specify how you want the axis to plot.
ylim([-19 0])
Srivardhan Gadila
2020년 3월 13일
0 개 추천
카테고리
도움말 센터 및 File 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!