Re: [R] legend as a subtitle

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Fri 20 May 2005 - 22:17:37 EST

Ravi.Vishnu@outokumpu.com wrote:

> Very little space is available in one of my plots for the legend. I would
> like to lift it out of the main plot area and present it in the subtitle
> area. Would appreciate any help that I can get.

Look at the following code and read the corresponding help pages:

  plot(1:10, xlab="")
  ## clipping to device region rather than plot region:   par(xpd=NA)
  legend(mean(par("usr")[1:2]), 0,
    legend="nonsense", xjust=0.5)

Uwe Ligges

> Ravi Vishnu
>
>
> This message is meant for the addressee only and may contain
> confidential and legally privileged information. Any unauthorised
> review, use, copying, storage, disclosure or distribution of this e-
> mail and any attachments is strictly prohibited. If you are not the
> named recipient or have otherwise received this communication in
> error, please destroy this message from your system and kindly notify
> the sender by e-mail. Thank you for your co-operation.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri May 20 22:40:18 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:56 EST