I have a simple schedule yagainst x.
y = [6,-1.3,-8,-11.7,-11,-6,1.3,8,11.7,11,6,-1.3];
x = 0:0.3:3.3;
plot (x,y)
As a result, the x axis of the figure is in the range from 0 to 3.5 with a scale of 0.5. I used XLimit = [0 3.3]to limit the axis, but it doesn't seem to work.
I want to make the x axis range from 0 to 3.3 in increments of 0.3.
source
share