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

Answers (2)

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
yes,sir,may be set options 'ValidationFrequency' to make different valid step

Categories

Find more on Networks in Help Center and File Exchange

Asked:

on 13 Jan 2022

Answered:

on 14 Jan 2022

Community Treasure Hunt

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

Start Hunting!