Re: [R] Legend Outside Plot Dimension

From: Abd Rahman Kassim <rahmank_at_frim.gov.my>
Date: Fri 20 Jan 2006 - 10:42:19 EST

Dear Jacques,

Thanks for the promt response.

Abd. Rahman
----- Original Message -----
From: "Jacques VESLOT" <jacques.veslot@cirad.fr> To: "Abd Rahman Kassim" <rahmank@frim.gov.my> Cc: <r-help@stat.math.ethz.ch>
Sent: Wednesday, January 18, 2006 9:15 PM Subject: Re: [R] Legend Outside Plot Dimension

use "xpd" argument in par(), as follows:

 > ?par
 > par(xpd=T, mar=par()$mar+c(0,0,0,4))
 > plot(1,1)
 > legend(1.5,1,"point",pch=1)


Abd Rahman Kassim a écrit :

>Dear All,
>
>I'm trying to attach a legend outside the plot (Inside plot OK), but
>failed. Any help is very much appreciated.
>
>Thanks.
>
>
>Abd. Rahman Kassim, PhD
>Forest Management & Ecology Program
>Forestry & Conservation Division
>Forest Research Institute Malaysia
>Kepong 52109 Selangor
>MALAYSIA
>
>*****************************************
>
>Checked by TrendMicro Interscan Messaging Security.
>For any enquiries, please contact FRIM IT Department.
>*****************************************
> [[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
>
>
>


Checked by TrendMicro Interscan Messaging Security. For any enquiries, please contact FRIM IT Department.



Checked by TrendMicro Interscan Messaging Security. For any enquiries, please contact FRIM IT Department.



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 Thu Jan 19 18:49:20 2006

This archive was generated by hypermail 2.1.8 : Thu 19 Jan 2006 - 22:04:42 EST