how to plot a spreadsheet in 3D

1 view (last 30 days)
Shireen Adenwalla
Shireen Adenwalla on 29 Nov 2016
Answered: dpb on 29 Nov 2016
I have imported a spreadsheet in which the first column consists of x-values, the first row is the y values and I would like to plot the other numbers as Z. How can I achieve this?

Answers (1)

dpb on 29 Nov 2016
You can try surf but unless you have data in a regular grid, Matlab surface plotting routines are exceptionally weak; in that case you have to try to interpolate across what data you do have to a regular grid first. Start with <Surfaces polygons and volumes> and explore the examples to see what might seem to best fit your dataset--and good luck, you may need it.



Community Treasure Hunt

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

Start Hunting!

Translated by