How can I plot 3D graph provided that I have x,y,z value

Hi,
If I want to plot 3-D graph featuring x,y, z...the value of which are known. Shall I use mesh command or is there anything easier to implement using data points I have in excel?
Many thanks in advance.
Kate

 Respuesta aceptada

Titus Edelhofer
Titus Edelhofer el 22 de Jul. de 2012
Hi,
if the data points x,y are irregular (i.e., not on some grid), just use plot3 to plot them. For functions like mesh and surf, you need to interpolate them to a grid, see http://www.mathworks.com/help/techdoc/math/bspq0rb-1.html.
Titus

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 22 de Jul. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by