[R] Multiple plots with one legend

David Winsemius dwinsemius at comcast.net
Sun Mar 27 00:24:20 CET 2011


On Mar 26, 2011, at 7:06 PM, mavkoup wrote:

> Hi,
>
> I've created 3 plots one under the other, and want to include a  
> legend on
> the right that spans the height of all 3 plots.

?mtext
# with the `las` parameter for rotation

Or you can use:

text(x,y,  "some text", srt=-90,xpd=NA )
>


-- 

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list