how to make the graph start at axis-y = 0 ?

조회 수: 3 (최근 30일)
Nur Aisyah Abd Razak
Nur Aisyah Abd Razak 2022년 1월 13일
답변: yanqi liu 2022년 1월 14일
How to fix the graph, so that the black dot, start at 0 ?

답변 (2개)

Max Heimann
Max Heimann 2022년 1월 13일
Assuming the data you are plotting are vectors called
x_data, y_data
You could offset your data to achieve your goal.
x_data = x_data - x_data(1);
y_data = y_data - y_data(1);
Now your graph will start at 0,0

yanqi liu
yanqi liu 2022년 1월 14일
yes,sir,may be set options 'ValidationFrequency' to make different valid step

카테고리

Help CenterFile Exchange에서 Directed Graphs에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by