Discussion:
Box plot
louis Vonder
2006-12-27 08:03:40 UTC
Permalink
I want to use GMT to draw "Box plot" of my data organized in column.

But I have diffulties to plot outliers.

There is anyone who can help me?

Thanks


---------------------------------
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.

To unsubscribe, send the message "signoff gmt-help" to ***@hawaii.edu
Bruce Raup
2006-12-28 15:40:10 UTC
Permalink
Louis,

As far as I know, there is no easy way to produce box plots in GMT (I
assume you mean the plots frequently used in statistics, also knows as
box-and-whisker plots). You would need to write functions (in whatever
language you're scripting in -- perl might be good) that compute the
inter-quantile range, median, min and max, and then produce a box plot
using psxy.

Alternatively, you could use the open-source package "R"
(http://www.r-project.org/), which has a "boxplot" command.

Bruce
Post by louis Vonder
I want to use GMT to draw "Box plot" of my data organized in column.
But I have diffulties to plot outliers.
There is anyone who can help me?
Thanks
---------------------------------
D$B+1(Bcouvrez une nouvelle fa$B+.(Bon d'obtenir des r$B+1(Bponses $B+"(B toutes vos questions ! Profitez des connaissances, des opinions et des exp$B+1(Briences des internautes sur Yahoo! Questions/R$B+1(Bponses.
--
Bruce Raup
National Snow and Ice Data Center
University of Colorado
449 UCB, Boulder, CO 80309
Phone: 303-492-8814
http://cires.colorado.edu/~braup/

To unsubscribe, send the message "signoff gmt-help" to ***@hawaii.edu
Paul Wessel
2006-12-28 18:55:35 UTC
Permalink
Sorry, not enough coffee to understand the problem when Louis first =
=20
posted it. psxy can indeed plot box-and-whisker plots; see -E option=
=20
for usage.
-p
Post by Bruce Raup
Louis,
As far as I know, there is no easy way to produce box plots in GMT =
(I
Post by Bruce Raup
assume you mean the plots frequently used in statistics, also knows=
as
Post by Bruce Raup
box-and-whisker plots). You would need to write functions (in =
=20
Post by Bruce Raup
whatever
language you're scripting in -- perl might be good) that compute th=
e
Post by Bruce Raup
inter-quantile range, median, min and max, and then produce a box p=
lot
Post by Bruce Raup
using psxy.
Alternatively, you could use the open-source package "R"
(http://www.r-project.org/), which has a "boxplot" command.
Bruce
I want to use GMT to draw "Box plot" of my data organized in colum=
n.
Post by Bruce Raup
But I have diffulties to plot outliers.
There is anyone who can help me?
Thanks
=09=09
---------------------------------
D=EF=BF=BDcouvrez une nouvelle fa=EF=BF=BDon d'obtenir des r=EF=
=BF=BDponses =EF=BF=BD =20
Post by Bruce Raup
toutes vos questions ! Profitez des connaissances, des opinions et=
=20
Post by Bruce Raup
des exp=EF=BF=BDriences des internautes sur Yahoo! Questions/R=
=EF=BF=BDponses.
Post by Bruce Raup
To unsubscribe, send the message "signoff gmt-help" to =20
--=20
Bruce Raup
National Snow and Ice Data Center
University of Colorado
449 UCB, Boulder, CO 80309
Phone: 303-492-8814
http://cires.colorado.edu/~braup/
To unsubscribe, send the message "signoff gmt-help" to =20
To unsubscribe, send the message "signoff gmt-help" to ***@hawai=
i.edu
Bruce Raup
2006-12-28 20:17:07 UTC
Permalink
Sorry, not enough coffee to understand the problem when Louis first posted it.
psxy can indeed plot box-and-whisker plots; see -E option for usage.
-p
Well, nice to learn something new. It appears designed for use with the
-JX projections. Is it possible to put box-and-whisker symbols on a
geographic map, where the dimensions of the box-and-whisker symbol are
determined by some other field? It appears that currently, the additional
columns are interpreted as latitude or longitude only.

I realize that this can be done in R using the "maps" package, but the
output isn't as nice as GMT's.

Thanks,
Bruce
Post by Bruce Raup
Louis,
As far as I know, there is no easy way to produce box plots in GMT (I
assume you mean the plots frequently used in statistics, also knows as
box-and-whisker plots). You would need to write functions (in whatever
language you're scripting in -- perl might be good) that compute the
inter-quantile range, median, min and max, and then produce a box plot
using psxy.
Alternatively, you could use the open-source package "R"
(http://www.r-project.org/), which has a "boxplot" command.
Bruce
Post by louis Vonder
I want to use GMT to draw "Box plot" of my data organized in column.
But I have diffulties to plot outliers.
There is anyone who can help me?
Thanks
---------------------------------
D?couvrez une nouvelle fa?on d'obtenir des r?ponses ? toutes vos
questions ! Profitez des connaissances, des opinions et des
exp?riences des internautes sur Yahoo! Questions/R?ponses.
To unsubscribe, send the message "signoff gmt-help" to
--
Bruce Raup
National Snow and Ice Data Center
University of Colorado
449 UCB, Boulder, CO 80309
Phone: 303-492-8814
http://cires.colorado.edu/~braup/
To unsubscribe, send the message "signoff gmt-help" to
--
Bruce Raup
National Snow and Ice Data Center
University of Colorado
449 UCB, Boulder, CO 80309
Phone: 303-492-8814
http://cires.colorado.edu/~braup/

To unsubscribe, send the message "signoff gmt-help" to ***@hawaii.edu
Continue reading on narkive:
Loading...