Plotting a matrix of z-values into 3d-space

2 views (last 30 days)
Groat
Groat on 4 Mar 2015
Edited: Groat on 4 Mar 2015
I have a 2-dimensional matrix of Z values, and want to plot these in 3d space. Each row and column corresponds to my z-values according to different x-values and y-values.
How can I best go about this?
I know surf(A), where A is my matrix, will create the surface, but I want to be able to change the x and y axes values.
Apologies if this is unclear.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!