hi,
when i use this code, instead of forcing it to give me the x-axis as: 0,1,2,…,10 then x10^3 (3 is a superscript) it gives me the numbers as 1000,2000,…and so on…any idea?
x = 0:0.1e4:0.1e5;y = randn(11,1);plot(x,y,'b-o')set(gca,'xtick',0:0.1e4:0.1e5);
Best Answer