[R] Placing text outside graph boundary

David Winsemius dwinsemius at comcast.net
Fri Jun 26 02:34:03 CEST 2009


On Jun 25, 2009, at 7:51 PM, Payam Minoofar wrote:

> Hello,
>
> Is possible to place a label on a multipanel figure outside the  
> boundaries of any single one of the existing graphs in a panel?
>
> Specifically, I have a function that creates a panel with quartz()  
> and then fills it with 6 graphs consisting of exactly the same plot  
> for 6 different groups. I would like to add one title for the entire  
> figure at the top of the figure, but I cannot figure out how to do  
> that without anchoring the title one of the graphs.
>
> Is it possible to do that?

lattice functions (since you are asking about panels) generally use  
the , main= <text>,  parameter for that purpose.
> --

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list