how to plot a spreadsheet in 3D

2 次查看(过去 30 天)
Shireen Adenwalla
Shireen Adenwalla 2016-11-29
回答: dpb 2016-11-29
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?

回答(1 个)

dpb
dpb 2016-11-29
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.

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by