surface chart

1 visualización (últimos 30 días)
Pankaj
Pankaj el 5 de Feb. de 2012
i have a 200X200 matrix R filled with structure having 4 fields (a,b,c,d). i want to plot one of these attributes on a 3 D chart so I am using
surf((1:200),(1:200), R(:,:).d) or mesh((1:200),(1:200),R(:,:).d),
this doesn't seem to work - any suggestions on how to go about this?

Respuestas (1)

Amit Davidi
Amit Davidi el 5 de Feb. de 2012
Try using:
surf(1:200, 1:200, reshape([R.d], size(R))

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by