Plot date on X axis
Mostrar comentarios más antiguos
I am so confused on all other answers. Just trying to make a plot with date in X.

I created close=TSLA(:,5) and date=TSLA(:,1), they worked, then I tried plot(date,close), error. after I check other same question, I tried dn=datenum(date,'mm-dd-yyyy') but It give me error, I am stacked here. I am new to matlab. also how can I plot if the month is not number but like sep, oct?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Dates and Time en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
