필터 지우기
필터 지우기

x 10^5 appears in x-axis with datetick

조회 수: 1 (최근 30일)
Dan
Dan 2011년 10월 11일
Hello,
I am creating some timeseries plots and using the datetick function to displays years on the x-axis. The years show up fine but 'x 10^5' also appears in the bottom right corner. Here is the code:
bar(Date,speiNV{1,1});
datetick('x','yyyy');
xlim([Date(1) Date(end)]);
ylim([-3 3]);
ylabel('index value','fontsize',16,'fontweight','bold');
set(gca,'fontweight','bold','fontsize',16);
title('3-month SPEI');
Here is a sample date: Date(1) = 692136
I've used this method many times before and haven't had this problem...can anyone tell me whats going on?
Thanks, Dan

채택된 답변

Fangjun Jiang
Fangjun Jiang 2011년 10월 11일
  댓글 수: 1
Dan
Dan 2011년 10월 11일
Yes, this worked just fine. Thanks!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by