How can I plot average and then the error bar with standard deviation?
Mostrar comentarios más antiguos
Hi everyone, I should plot the average (Var 8) with standard deviation (Var7) as error bar.
plot(example_daily.Time(:,1),[example_daily.Var5(:,1), B, example_sd.Var7(:,1)]);
Can anyone help me kindly?
Thank you.
Respuestas (1)
the cyclist
el 27 de Abr. de 2021
0 votos
5 comentarios
the cyclist
el 27 de Abr. de 2021
Are you able to upload the data and code that created that plot?
Are you sure that you are using the MATLAB version of the errorbar function, and not some local user-defined function? What does
which errorbar -all
give as output?
Pul
el 27 de Abr. de 2021
the cyclist
el 27 de Abr. de 2021
That is not what I meant.
Can you upload the data here, on this forum, using the INSERT tool. Then we can try to plot your errorbar chart.
And you did not answer my question, regarding the output of
which errorbar -all
It should point to a MATLAB directory such as
/Applications/MATLAB_R2020a.app/toolbox/matlab/specgraph/errorbar.m
and not a personal directory.
Pul
el 28 de Abr. de 2021
the cyclist
el 28 de Abr. de 2021
- Can you upload giulia_TT.mat ?
- Can you upload giulia_sd.mat ?
- What is the output of the command which errorbar -all ?
Categorías
Más información sobre Errorbars en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!