|
So do you know how I could plot the first row with an errorbar for each point of the size of the values in the second row of my matrix?
help errorbar
as error, either you use simply the std or some other CI
http://en.wikipedia.org/wiki/Confidence_interval
Jjust to repeat it, this is not a boxplot.
"Annetje " <teutieu@yahoo.fr> wrote in message <heh160$48c$1@fred.mathworks.com>...
> Hi Lorenzo,
>
> Thanks for your answer.
> I have access to the raw data but (it's bit complicated to explained) I need to put them in a for loop in order to get the information I need over time. That is why I finally have a matrix with in the first row the mean values for esch time step (column) en in the second row the standard deviations.
> So do you know how I could plot the first row with an errorbar for each point of the size of the values in the second row of my matrix?
>
> Thanks again!
> regards,
> Ann
>
>
> Just two stupid questions...don't you have acces to the raw data?In that case it is much easier to use the boxplot function directly. Second question, if you are only interested in confidnece interval, you can use errorbar function.
>
> "Lorenzo Guerrasio" <lorenzo.guerrasio@email.it> wrote in message <heejfo$4gp$1@fred.mathworks.com>...
> > "Annetje " <teutieu@yahoo.fr> wrote in message <heedk6$soi$1@fred.mathworks.com>...
> > > Hi,
> > >
> > > I have a 2x19 matix. The first row consists of the mean value for 19 timesteps en the second row consists of the standard deviations.
> > >
> > > I would like to plot this matrix like a boxplot (but command boxplot does not work for matrixes as far as I know)
> > > Does somebody knows how to do this?
> > >
> > > Thanks a lot!
> > > Grtz,
> > > Ann
> >
> > Dear Anetje, to do something like boxplot you need at least to know the numerosity of each computed mean and std, so that statistical test can be done. However it is not that easy than to do all what boxplot does.
> > Just two stupid questions...don't you have acces to the raw data?In that case it is much easier to use the boxplot function directly. Second question, if you are only interested in confidnece interval, you can use errorbar function.
> >
> >
> > to understand how to compute
|