xticks
Get or set x-axis tick locations.
Syntax
Section titled “Syntax”xticksxticks(values)Description
Section titled “Description”Without arguments, returns the current x-tick locations as a vector. With a numeric values vector, sets the x-axis tick locations. Pass 'auto' to revert to automatic tick placement.
Example
Section titled “Example”xticks(0:5:50)See also
Section titled “See also”yticks— Get or set y-axis tick locations.zticks— Get or set z-axis tick locations.xticklabels— Get or set x-axis tick labels.