[R] how to rotate a triangle image(ZMAT) ?

Jim Lemon jim at bitwrit.com.au
Thu Jun 29 03:10:21 CEST 2006


Cleber N.Borges wrote:
>  Hello R users...
> 
>  how to align this Zmat (triangle image)  in X axis?
>  I would like that the triangle's base become in the X
> axis and
>  the triangle's height become in the Y axis 
> 
>  Is there some trick for make this?
> 
How about:

image(zmat,col=terrain.colors(10),xlim=c(1,0),ylim=c(1,0))

Jim



More information about the R-help mailing list