[R] adding text to a plot created with strat.plot() from package rioja

Jason Paul Joines jason at joines.org
Fri Aug 19 18:40:30 CEST 2011


     I have a plot created with strat.plot() from package rioja.  When 
the plot is created with scale.percent=FALSE, each x axes is labeled at 
0 and its maximum.  However, when scale.percent=TRUE, the x axes are not 
labeled.  I need to use scale.percent=TRUE and I need labels for the x axes.

     I have been able to add labels to the x axes with mtext but it is 
very tedious to find the correct position.  Is there a better way to do 
this or a better way to find the desired coordinates than trial and error?


Jason
===========



More information about the R-help mailing list