From: Ruben Cuevas on
Hi,

I am plotting a vector using boxplot. Most of the samples of the vector are in the order of hundreds however some of them go up to 100k. I don't want to remove the outliers since they are valuable in the study I am doing. Then, I would like to make the boxplot using logscale for the y-axe, thus I can see the box and the outliers better.


I hope you can help me.

Best.

--Rubén.
From: Pekka Kumpulainen on
"Ruben Cuevas" <rcuevas(a)it.uc3m.es> wrote in message <hrpbvc$dj7$1(a)fred.mathworks.com>...
> Hi,
>
> I am plotting a vector using boxplot. Most of the samples of the vector are in the order of hundreds however some of them go up to 100k. I don't want to remove the outliers since they are valuable in the study I am doing. Then, I would like to make the boxplot using logscale for the y-axe, thus I can see the box and the outliers better.
>
>
> I hope you can help me.
>
> Best.
>
> --Rubén.

How about just setting the YScale to log after boxplot, would that do what you need?
set(gca,'YScale','log')
From: Ruben Cuevas on
"Pekka Kumpulainen" <pekka.nospam.kumpulainen(a)tut.please.fi> wrote in message <hrr19k$fqc$1(a)fred.mathworks.com>...
> "Ruben Cuevas" <rcuevas(a)it.uc3m.es> wrote in message <hrpbvc$dj7$1(a)fred.mathworks.com>...
> > Hi,
> >
> > I am plotting a vector using boxplot. Most of the samples of the vector are in the order of hundreds however some of them go up to 100k. I don't want to remove the outliers since they are valuable in the study I am doing. Then, I would like to make the boxplot using logscale for the y-axe, thus I can see the box and the outliers better.
> >
> >
> > I hope you can help me.
> >
> > Best.
> >
> > --Rubén.
>
> How about just setting the YScale to log after boxplot, would that do what you need?
> set(gca,'YScale','log')

Yes it works perfectly. Thanks a lot!!!.

--Rubén.
 | 
Pages: 1
Prev: Blury image
Next: Selective file reading