[R] How add degree character in axis?

Roger D. Peng rdpeng at gmail.com
Fri Jun 9 20:11:04 CEST 2006


Take a look at ?plotmath.

-roger

fernando espindola wrote:
> Hi user R,
> 
> I am try to put degree character in axis x, but don't make this.  I have 
> the next code:
> 
> plot(mot[,5], 
> time1,xlim=c(-45,-10),type="l",yaxt="n",ylab="",col=1,lwd=2,xlab="",xaxt="n")
> 
> The range of value in axis-x  is  -45 to -10, this values represents the 
> longitudes positions in space. I try to put 45°S for real value (-45) in 
> the axis-x, and for all elements . Anybody can give an advance in this 
> problems.....
> 
> Thank for all
> 
> 

-- 
Roger D. Peng  |  http://www.biostat.jhsph.edu/~rpeng/



More information about the R-help mailing list