M. Sc. Anne-Marie B. Gallrein
Technische Universit?t Dresden
Institut f?r Klinische, Diagnostische und Differentielle Psychologie
Diagnostik und Intervention
01062 Dresden
Tel. +49 351 463-34004
gallrein at psychologie.tu-dresden.de
-------------- next part --------------
X<-matrix(rnorm(130, sd=.2), ncol=13)
par(mar=c(0,0,0,0))
par(mfrow=c(4,4))
layer1 <- apply(X=X[,1:13],
MARGIN = 2,
FUN=function(x) {
barplot(x, horiz=T, xlim=c(-.75,.75), ylim=c(0,10),col=c("black"),
axes=F, width = .5, space = .5)
axis(side=1, labels=F)}
)
magenta3 <- c(rep(0,length(X[1,])),X[2,],rep(0,length(X[-(1:2),])))
X2 <- matrix (magenta3, ncol=13, byrow=T)
layer2 <- glayer(apply(X=X2[,1:13],
MARGIN = 2,
FUN=function(x) {
barplot(x, horiz=T, xlim=c(-.75,.75), ylim=c(0,10),col=c("magenta3"),
axes=F, width = .5, space = .5)
axis(side=1, labels=F)}
))
dodgerblue1 <- c(rep(0,length(X[1:4,])),X[5,],rep(0,length(X[-(1:5),])))
X3 <- matrix (dodgerblue1, ncol=13, byrow=T)
layer3 <- glayer(apply(X=X3[,1:13],
MARGIN = 2,
FUN=function(x) {
barplot(x, horiz=T, xlim=c(-.75,.75), ylim=c(0,10),col=c("dodgerblue1"),
axes=F, width = .5, space = .5)
axis(side=1, labels=F)}
))
layer1+layer2+layer3