Effacer les filtres
Effacer les filtres

Datenum problem with errorbar plot

1 vue (au cours des 30 derniers jours)
Joseff Saunders
Joseff Saunders le 5 Déc 2018
Hello all,
I have an issue displaying datenum data in a plot. I want to use the errorbar plot function to shot date against Temp, howver errorbar doesn't agree with datetime value's, however when I convert to datenum (as shown below), my first two points are the wrong side of January as shown in the image, they should be the last two points in december.
weeks = datenum(Date_ave);
errorbar(weeks,Temp_ave,Temp_sd,'-s')
datetick('x','mmm','keepticks')

Réponses (0)

Catégories

En savoir plus sur Errorbars dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by