How do I insert errobar to a timeseries line, specifying the time length of the errorbars
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Luís Henrique Bordin
el 7 de Mzo. de 2022
Comentada: Luís Henrique Bordin
el 7 de Mzo. de 2022
I have a timeseries of five years of data. I need to make various line graphs with errorbars, with the errorbars in each graph by year, season and month, respectively. However, I coould not discover how to specify on the errorbar function, the period of data in which I want the errorbars.
Please, could anyone kindly help me with this? Thanks!
0 comentarios
Respuestas (1)
Peter Perkins
el 7 de Mzo. de 2022
Not clar what you mean by, "with the errorbars in each graph by year, season and month, respectively", but this may get you started:
>> t = datetime(2022,1,1:10);
>> x = 10*rand(1,10);
>> e = rand(1,10);
>> errorbar(t,x,e)
Ver también
Categorías
Más información sobre Errorbars en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!