Re: [R] barplot -issues with axis and labels not appearing

2015-07-22 Thread Jim Lemon
Hi Pierre, I get a reasonable plot using the following code: par(mar=c(6,4,4,2)) barpos-barplot(unlist(GEP.data2), main=Global Portfolio Weights, col.main=gray, col=blues9, cex.axis=1, ylim=c(-1,1), las=2, cex.lab=1, cex=0.8) axis(1,at=barpos,labels=rep(,8)) For one thing, you don't need the

[R] barplot -issues with axis and labels not appearing

2015-07-21 Thread Pierre Micallef
Hi I am experiencing a few issues with the barplot function. I have written the following code; barplot(as.matrix(GEP.data2), beside=TRUE, main=Global Portfolio Weights, col.main=gray, col=blues9, cex.axis=0.1, ylim=c(-1,1), las=2, cex.lab=1, cex=0.8) where; GEP.data2 =