[R] add data symbol to axis label

David Winsemius dwinsemius at comcast.net
Fri Feb 8 17:33:45 CET 2013


On Feb 8, 2013, at 3:53 AM, e-letter wrote:

> Readers,
> 
> Is it possible to add a data symbol (e.g. pch='21') to an axis label?
> The objective is to plot a graph with two (2) y-axes and the plotting
> character for data set 1 is added to the label of y1 axis (left); plot
> character for data set 2 is added to label of y2 (right) axis.
> 
There are par settings in base graphics that allow plotting outside the user plot area. My memory is saying this might be "xpd" but you ought to review the help file for par().

> 
-- 

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list