[R] Looking for instructions for several questions with R

Duncan Murdoch murdoch at stats.uwo.ca
Fri Sep 14 01:17:53 CEST 2007


On 13/09/2007 6:26 PM, Zheng Lu wrote:
> Dear all:
> 
> when I add legend into the upper right concer of the plot region, it 
> always has a square region in which the text is, how to get rid of that 
> square region, I just want pure text.

Use bty="n" in the call to legend.

> For the log-scale on y axis, they appear as 1e-02, 1e+00 and 1e+02, how 
> to change to 0.01, 1, 100.

Set axes=FALSE when you do the original plot, then use the axis() 
function to draw the axes (and maybe box() to draw the box).  It allows 
you to put anything you want as tick labels...
> 
> how to make label on axes bigger including number and text?

... and allows the size of the text to be changed.

Duncan Murdoch
> 
> I appreciate your great consideration and help.
> 
> Lu
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list