[R] image function

Pascal Oettli kridox at ymail.com
Mon Jul 23 04:43:11 CEST 2012


Hello,

image(1:100, 1:100, x)

Regards,
Pascal


Le 23/07/12 11:28, li li a écrit :
> Dear all,
>     I have a question regarding changing the xlim and ylim in the function
> image().
>     For example, in the following code, how can I have a heatmap with
> xlim=ylim=c(0, 100)
> instead of (0,1).
>     Thank you very much.
>
> x <- matrix(rnorm(10000, 0,1), 100, 100)
>
> image(x)
>
>
>
>
>
>
>           Hannah
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> 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