how to limit and number of points on axis or how to set desired spacing between the points

32 次查看(过去 30 天)
Hello,
please tell how to limit the number of points on x axis( ex: suppose if there are 10 points, i want show only five points on axis OR if there 10 points i want to have the repesent the points with spacing of 3 difference).
I have six vector plots in a figure which have been created by using command subplot and i want to increase the plot area of these vector plots.
Thanks in advance.

采纳的回答

Swetha Polemoni
Swetha Polemoni 2021-4-18
Hi
You can limit the number of points on x axis/ y axis using Specify Axis Limits "xlim/ylim". For setting desired spacing on x axis/ y axis you can use xticks / yticks.

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by