search for: columncolor

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

2011 Jun 21
2
par code help
I am making a barplot using barplot2 from gplots where each bar represents a specific tree species. I have formatted the species names on the x-axis so that the genus name is above the species name and have then rotated the labels 45 degrees to save room. This is my code: >columncolor<-c("grey20", "grey20", "grey20", "grey70", "grey70", "grey70", "grey70", "grey70", "grey70") >speciesnames<-c("Dialium\nguianensis", "Inga\nalba", "Tachigali \nversicolor&...
2011 May 23
2
Formatting names.arg
...ga alba", "Tachigali versicolor", "Brosimum utile", "Caryocar costaricense", "Castilla tunu", "Otoba novagranatensis", "Pourouma bicolor", "Socratea exorrhiza") barplot2(meanapAprilactivity, names.arg=speciesnames, col=columncolor, xlab="Species", ylab="Soil acid phosphatase activity (nmol/h/g)", plot.ci=T, ci.l=apAprilminusordered, ci.u=apAprilplusordered, cex.lab=1.5) For example, I want 'Dialium' to be located above 'guianensis' on the x-axis. Is there a way to do this? Thanks...