Borrar filtros
Borrar filtros

How to control x-axis range

16 visualizaciones (últimos 30 días)
CHOI HYUNDUK
CHOI HYUNDUK el 27 de En. de 2019
Comentada: Somesh Thakur el 26 de Jul. de 2020
For example, In a plot 'x-axis' has 0 50 100.
But I want that it shows 0 20 40 60 80 100.
How can I control this range in the figure?

Respuesta aceptada

madhan ravi
madhan ravi el 27 de En. de 2019
xlim([0 100])
xticks(0:20:100)

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