Skip to content
Prev 34877 / 398502 Next

help on barplot

On Sun, 2003-07-20 at 21:16, Murad Nayal wrote:
You need to restructure the data passed to barplot() so that the two
'height' related columns are converted to 2 rows of 10 columns. Each
column is then drawn as pairs of bars:

barplot(rbind(d[, 1], d[, 2]), beside = TRUE)

Take a look at the change in structure as a result of:

rbind(d[, 1], d[, 2])

In terms of 3d histograms, it would appear that Duncan Murdoch, Daniel
Adler et al are working on porting Duncan's Windows only DJMRGL package
(http://www.stats.uwo.ca/faculty/murdoch/software) to multiple platforms
at (http://wsopuppenkiste.wiso.uni-goettingen.de/~dadler/rgl). If my
read is correct, it looks like they have some of the primitives ready to
go at this time, but perhaps have not yet converted Duncan's hist3d()
function.

HTH,

Marc Schwartz