[R] position of a legend-object

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Jun 9 19:18:50 CEST 2005


Carsten Steinhoff wrote:
> Hello,
>  
> I've written a function that plots a few functions in a diagram.
> The xlim and or ylim is not always the same, and set automatically by R.
> A legend is part of this object.
> Now the problem is: where to put the legend? Me would help a function that
> returns the limits and scaling of the axis.

See ?par, in particular par("usr")

Uwe Ligges


> Thanks for your help.
>  
> Carsten
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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




More information about the R-help mailing list