X-axis not showing enough points
Afficher commentaires plus anciens
Hi,
I am trying to plot two data sets.
One of them ranges from -40:40 while the other ranges from -50:50.
The plots look fine when I use xlim([-40,40]) and show appropriate number of axis points on the x-axis.
However, when I use xlim([-50,50]), the plot only shows 3 points on x-axis. (please refer to the picture attached)
How can I show more points on x-axis when using xlim([-50,50]) ?
Thanks in advance.

Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Line Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!