You need to change the x values on your chart or change the axis labels.
Here's how you draw using specific x values:
%
data = randn(20000,1);
%
x = linspace(1,50,length(data));
%
plot(x,data)
EDIT Doresoom conveniently showed how to change axis labels.
Jonas source
share