필터 지우기
필터 지우기

tick labels and the scaling exponent - where is the string stored ?

조회 수: 1 (최근 30일)
hans
hans 2011년 4월 1일
I'm using R2009a and Win7 64bit.
I'm looking, where the scaling exponent of the ticks is stored. Try:
xlim([100000 200000])
Looking into the plot I find the ticklabels [1 1.2 ... 2] an exponent 10^5 at the end of the line.
Checking the ticking with
get(gca,'XTickLabel')
I get [1 1.2 ... 2] but I do not find the exponent [10^5]. Where is this string hidden ?
My motivation to find it out is, that this 10^5 always remains when I use
datetick
and I don't know how to delete it.
We discussed a very similar point in http://www.mathworks.com/matlabcentral/answers/4515-removing-ticks and found there is a bug but I think that thread might be too long to add this question without loosing clarity.

답변 (2개)

Walter Roberson
Walter Roberson 2011년 4월 1일
There is no documented user-accessible property that stores the exponent.

hans
hans 2011년 4월 1일
So I can't delete it ?
When I use datetick, I always get the 10^5 from the original ticks remaining while the ticks are replaced by the datestrings.
Is there a trick, to get rid of them ?

카테고리

Help CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by