search for: zehnind

Displaying 2 results from an estimated 2 matches for "zehnind".

Did you mean: behind
2012 May 11
1
plot: many bars with wide bars
...ile=paste(abb,".eps",sep="")) dat<-read.csv2(paste(abb,".csv",sep=""),header=T,check.names=F) dat1<-t(as.matrix(dat[,2:3],nrow=2)) colnames(dat1)<-dat[,1] zehn<-seq(10,10000000,10) xmax<-max(dat1) ind<-min(which(zehn>=xmax)) zehnind<-zehn[ind] ticks<-seq(0,zehnind,10) par(las=1) par(mar=c(5,4.5+0.3529412*(max(nchar(colnames(dat1)))-1),1,1)) barplot(dat1,width=0.59,horiz=T,col=c("steelblue4","lightsteelblue3"),border="NA",axes=F,beside=T,xlim=c(0,zehnind),cex.names=1.2,ylim=c(0,10))...
2012 May 09
1
white lines in barplot
Dear R-helpers, I would like to draw white lines in my barplots to improve the visualization. I include an example: barplot(sample(1:100,15),width=0.59,horiz=T,col="steelblue",border="NA",axes=F,ylim=c(0,10),xlim=c(0,100)) abline(v = seq(10, zehnind, by = 10), col = "white") axis(1,at=ticks,las=1,labels=paste(ticks,"%",sep="")) my problem is, that the white lines are not long enough at the top. I also tried the function lines and asix, which didn't work either, neither did changing the ylim. Does somebody k...