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

32 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

Swetha Polemoni
Swetha Polemoni el 18 de Abr. de 2021
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.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by