I wanted to 3D plot my data like shown in attached image.

1 view (last 30 days)

Answers (2)

Turlough Hughes
Turlough Hughes on 25 Aug 2021
Edited: Turlough Hughes on 25 Aug 2021

Use surf() or

doc surf

there are several examples at both locations

  4 Comments
Image Analyst
Image Analyst on 27 Aug 2021
Your x and y are only the first column of the table. You need to fill out the entire table to get a 2-D matrix.

Sign in to comment.


Image Analyst
Image Analyst on 25 Aug 2021
Try warp()

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by