Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Datetick - plotting question

1 Ansicht (letzte 30 Tage)
Joe
Joe am 3 Mär. 2012
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I am plotting a dataset (ds1, 5x7) with dates in first column and data in rest. Why does the bar chart plot the x axis data one month ahead?
bar(ds1.dates,double(ds1(:,2:end)))
datetick('x','mm-yy')
  1 Kommentar
Laurens Bakker
Laurens Bakker am 7 Mär. 2012
Could you show us your data, so that we can take a look at the values in ds1.dates?

Antworten (0)

Diese Frage ist geschlossen.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by