[R] persp() and character labels for axis

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Jan 25 13:49:20 CET 2006


So your R is outdated. Please upgrade!

Uwe Ligges



Thomas Steiner wrote:

>>>I want to plot dates on the y-axis of a persp() plot.
> 
> 
>>?persp points you to ?trans3d which is useful to calculate coordinates
>>for calls to 2D functions such as text().
> 
> 
> ?trans3d gives this:
> No documentation for 'trans3d' in specified packages and libraries:
> you could try 'help.search("trans3d")'
> 
> Even loading grDevices and graphics libraries did not help.
> http://finzi.psych.upenn.edu/R/library/grDevices/html/trans3d.html
> seems to be what I should look for, but there it says noting about
> text either (I want to label axis! ,something like
> t=1:10
> plot(x=t,y=t^2,type="l")
> axis(1,labels=LETTERS[1:5])
> and more proper...)
> 
> Thomas




More information about the R-help mailing list