xticks(0:6)xticklabels(10.^(xticks))10.^(xticks)xticklabels
10.^(xticks) returns:
ans = 1 10 100 1000 10000 100000 1000000
but from xticklabels i get:
ans = 7×1 cell array {'1' } {'10' } {'100' } {'1000' } {'10000' } {'100000'} {'1e+06' }
how do i keep the format so that it keeps the last label as '1000000' and not be converted to '1e+06'.
this is part of a bigger script, wich tests for max an min values of the plots. so manually writing all the labels is not really an optin.
Best Answer