Borrar filtros
Borrar filtros

x 10^5 appears in x-axis with datetick

1 visualización (últimos 30 días)
Dan
Dan el 11 de Oct. de 2011
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

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 11 de Oct. de 2011
  1 comentario
Dan
Dan el 11 de Oct. de 2011
Yes, this worked just fine. Thanks!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by