On Monday, July 1, 2013 3:15:10 PM UTC+5:30, Ulrik Nash wrote: > I have a matrix, which I would like to make a 3D surface plot of. > > > > My problem is that when I use the simple surface command, the axis values contain the row and column indexes, and that is not what I want. I wish to change the axis values to something else, for example, to values contained in a vector. > > > > How do I do that?
take the mesh plot... like this
let x be a vector and y be another vector..
>>[X Y] = meshgrid(x,y);
And take Z be the matrix that you want to plot, then next take