Surface plot from straight line coordinates and their value on z

I'm looking to represent in MATLAB the plot attached.
I have a series of six straight lines coordinates, and every line has a value on z-axis. How can i plot the surface?

 Accepted Answer

Concantenate your data into matrix. Look for surf, see how data should look like
Also you can use griddata

More Answers (0)

Products

Release

R2019b

Asked:

on 6 Feb 2020

Answered:

on 6 Feb 2020

Community Treasure Hunt

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

Start Hunting!