The Ytick of the plot is decimal, and I want it show by scientific notation as 0, 0.4*10^4, 0.8*10^4, 1.2*10^4, 1.6*10^4.
thanks a lot! I am using 2007Ra.
Huan
Use this solution:
How do I format tick labels?
http://www.mathworks.com/support/solutions/en/data/1-16KCT/
Aur?lien
thanks! the sprintf can generate the ytick as "0.4e+004", "0.8e+004", "1.2e+004",
"1.6e+004", but I want the tick to be '0.4', '0.8', '1.2', '1.6*10^4'....
thanks again!