🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by sljbr Wed, 07 Oct 1992 04:58
Help on Boxplotts in S needed!!!!!!!
#453
Author: sljbr
Date: Wed, 07 Oct 1992 04:58
13 lines
700 bytes
I have a problem with boxplots on the S.
The problem is:
I have 5 boxplots to be made. I want all the five to have a common x and y
axes. How is this possible??
Could anyone help me out??
Thanx a lot in advance.
-balaji rajagopalan,
utah water research laboratory.
utah state univ.,
logan, utah
ut - 84321-8200.
sljbr@cc.usu.edu or
rbala@kernel.uwrl.usu.edu
Re: Help on Boxplotts in S needed!!!!!!!
#455
Author: Paul Oconnor
Date: Wed, 07 Oct 1992 19:26
32 lines
1810 bytes
In article <1992Oct6.225803.59485@cc.usu.edu>, sljbr@cc.usu.edu writes:
|> I have a problem with boxplots on the S.
|> The problem is:
|> I have 5 boxplots to be made. I want all the five to have a common x and y
|> axes. How is this possible??
|> Could anyone help me out??
|> Thanx a lot in advance.


lets say the data is in a five column matrix called data. Then call 

boxplot(split(t(data), i), ylim = c(min(data), max(data)), 
        names = c("name1","2","3","4","5"),
        ylab = "y label", xlab = "x label")

If the matrix has the column names then you can let the names
option equal; names = dimnames(data)[2]. This will pop the names in for you.

What do you mean by a common x axis?

Cheers

Paul O'Connor                          Phone: +64 4 472-1000
Institute of Statistics and              FAX: +64 4 495-5118
Operations Research,                   Email: oconnor@isor.vuw.ac.nz
Victoria University of Wellington      Snail: PO Box 600,Wellington,New Zealand
-- 
Paul O'Connor                          Phone: +64 4 472-1000
Institute of Statistics and              FAX: +64 4 495-5118
Operations Research,                   Email: oconnor@isor.vuw.ac.nz
Victoria University of Wellington      Snail: PO Box 600,Wellington,New Zealand
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads