On Monday 29 November 2004 21:07, Peter Yang wrote:
> Hi,
>
> Suppose I have a 4 by 4 matrix as following:
>
> 10 6 3 1
>
>  8 4 3 2
>
>  6 2 4 3
>
>  9 3 4 2
>
> The x axis is the column index of the matrix, the y axis is the row
> index of the matrix and the z axis is the value in the corresponding
> position of the matrix.
>
> I tried to use contour and image. They are not the ones I want.

You are probably looking for ?persp.

Deepayan

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to