Like this previous poster, I am also using geom_text
to annotate plots in gglot2. And I want to position those annotations in relative coordinates (proportion of facet H & W) rather than data coordinates. Easy enough for most plots, but in my case I'm dealing with histograms. I'm sure the relevant information as to the y scale must be lurking in the plot object somewhere (after adding geom_histogram
), but I don't see where.
My question: How do I read maximum bar height from a faceted ggplot2 object containing geom_histogram
? Can anyone help?