X-axis not showing enough points
Ältere Kommentare anzeigen
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.

Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Axis Labels finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!