Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
Nur Aisyah Abd Razak
Nur Aisyah Abd Razak el 13 de En. de 2022
Respondida: yanqi liu el 14 de En. de 2022
How to fix the graph, so that the black dot, start at 0 ?

Respuestas (2)

Max Heimann
Max Heimann el 13 de En. de 2022
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 el 14 de En. de 2022
yes,sir,may be set options 'ValidationFrequency' to make different valid step

Categorías

Más información sobre Directed Graphs en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by