Using 3D Surface Plots

1 Ansicht (letzte 30 Tage)
Waseem Aldeek
Waseem Aldeek am 10 Mär. 2016
Kommentiert: Star Strider am 29 Mär. 2016
Say i have 3 arrays X, Y, Z full of data which correspond to the x co-ordinate, y co-ordinate and a value at that point, is it possible to plot this as a surface plot?(Co-ordinates correspond to mesh points of a 2D structure). My understanding of how they are plotted is limited and the using the help for surface() did not help.
Thanks

Akzeptierte Antwort

Star Strider
Star Strider am 10 Mär. 2016
I don’t know what your data are. If they are matrices, use the surf or mesh functions. The scatteredInterpolant function is another option. If they are vectors, I would use plot3 or scatter3.
  4 Kommentare
Waseem Aldeek
Waseem Aldeek am 29 Mär. 2016
Thanks alot for your help, much appreciated!
Star Strider
Star Strider am 29 Mär. 2016
My pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by