I have a problem with drawing a 3d plot in TikZ. I have a matrix of size (n*m) n is the number of points in the x-direction and m is the number of points in the y-direction and the values in the matrix are the z coordinates. For example the array matrix in (1,2) in z value for point 1 in x direction and point 2 in y direction.
How can I plot this matrix in LaTeX?
EDIT Here is a sample of the matrix I would like to plot (z coordinate), with the row index as the x coordinate and the column index as the y coordinate:
(1.0514 ,1.1092 ,1.2479,1.383, 1.4261) (1.1294 ,1.247, 1.36, 1.392, 1.304) (1.1049,1.1466, 1.2459, 1.3397, 1.362) (1.1257,1.161, 1.2445, 1.3218, 1.3356)