필터 지우기
필터 지우기

how to set graph size

조회 수: 5 (최근 30일)
zilai si
zilai si 2019년 5월 11일
답변: Josh 2019년 5월 11일
hello everyone, I wonder how to change a graph like this:
into a graph like this
...

채택된 답변

Josh
Josh 2019년 5월 11일
I'd use daspect to change the aspect ratio of your axes:
% Create plot vectors
x = [0, 1, 2];
y = [1, 0, 0];
% Plot
plot(x,y);
% Change plot aspect ratio so 1 unit of x equals 2 units of y (and z)
daspect([1,2,2])

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