Displaying 3 results from an estimated 3 matches for "guianensi".
Did you mean:
guianensis
2011 May 23
2
Formatting names.arg
I am making a barplot using barplot2 from gplots and would like to
format the names of my categorical variables (tree species) on the x-
axis so that the genus name is above the species name (to save room).
My code so far is:
speciesnames<-c("Dialium guianensis", "Inga alba", "Tachigali
versicolor", "Brosimum utile", "Caryocar costaricense", "Castilla
tunu", "Otoba novagranatensis", "Pourouma bicolor", "Socratea
exorrhiza")
barplot2(meanapAprilactivity, names.arg=s...
2011 Jul 26
1
adjusting x-axis labels
I am trying to tweak how my categorical x-axis labels are formatted in
my bar graph. Specifically, I would like to a) decrease the spacing
between lines (e.g. spacing between Dialium and guianensis) b) right
justify the text and c) have each species name align with the center
of the corresponding bar graph.
A simplified version of my code thus far is as follows. I am using
RStudio v. .94.84
install.packages('gplots')
library(gplots)
x<-rnorm(9, mean=600, sd=300)
speciesna...
2011 Jun 21
2
par code help
...d 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", "Brosimum\nutile", "Caryocar\ncostaricense", "Castilla
\ntunu", "Otoba\nnovagranatensis", "Pourouma\nbicolor", "Socratea
\nexorrhiza")
>barplot2(meanapAprilactivity...