specify axis limit to be nonneagtive

1 visualización (últimos 30 días)
alpedhuez
alpedhuez el 25 de Mayo de 2020
Editada: Ameer Hamza el 25 de Mayo de 2020
discusses controling where data appears in the axes by setting the x-axis, y-axis, and z-axis limits.
Then, how can I set the y axis to be nonnegative (but doe not set the upper limit)?

Respuesta aceptada

Ameer Hamza
Ameer Hamza el 25 de Mayo de 2020
Editada: Ameer Hamza el 25 de Mayo de 2020
You can set the upper limit to Inf to let MATLAB automatically that
axis([0 inf 0 inf 0 inf])
or
xlim([0 inf])
ylim([0 inf])
zlim([0 inf])

Más respuestas (0)

Categorías

Más información sobre Graphics Objects 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