I create a figure and set the 'XTickLabel' property of the axis to be a certain range. When I set the range to [1:1:20], the axis only shows a range of [1:5]. When I change the range to [1:4:20], the axis now shows the proper range of [1:20] with intervals of 4. I want the range to be [1:20] with smaller intervals.
MATLAB: Does changing XTickLabel change the overall range of the graph axes
axisMATLABrangextickxticklabel
Related Question
- Do the x-tick labels overlap in the histogram produced by the HIST function within MATLAB after the axes’ limits change
- How to format the axis of the plot
- How to remove labels and grey space between subplots so that the subplots fill-up the entire figure
- How to control axis tick labels, limits, and axes tick locations
- How to rotate the axis tick labels in 2-D and 3-D
- How can axes tick label color be changed
- Deletting X and Y axes ticks
Best Answer