When I create a bar chart using the following commands,
A = rand (64, 1); bar(A);
I obtain a plot, which has the following x-axis limits:
0 70
The documentation states:
The x-axis scale ranges from 1 to length(Y) when Y is a vector, and 1 to size(Y,1), which is the number of rows, when Y is a matrix.
This suggests the upper limit on the x-axis should be 64.
Best Answer