Re: [R] arranging axis within plotting area

2016-03-22 Thread Jim Lemon
Hi Eliza, I think you only need to change the margins and the placement of the right axis label: colours <- c("black", "grey") par(mar=c(5,4,4,4)) barplot(prop,ylab = "Numbers", cex.lab = 1.5, cex.main = 1.4, beside=TRUE, col=colours,ylim=c(0,250)) axis(side=3,xlim=c(0,45),

[R] arranging axis within plotting area

2016-03-22 Thread Eliza Botto
Dear useRs, I have defined two matrices "prop" and "ELE" in the following manner > dput(prop) structure(c(122.4667, 87.1500875, 94.3647755102041, 84.8471625, 95.2767755102041, 84.15558125, 121.8467, 90.75970625, 98.2028979591837, 87.1500875, 88.2953043478261, 72.81219375, 88.234,