Representing data from *.txt file in 3D graph

1 view (last 30 days)
Hello,
I have a set of data representing a temperature Profile (Matrix) which contains 18 Points in 20mm=X, 15mm=Y and z represents the temperature in These Points, What i want to do is to represents those Points (z) in a 3D Graph where X and Y are the surface length and z represents the height. does anyone know how to do it ?
Thanks
Moh
  2 Comments
mohamed Elsharif
mohamed Elsharif on 13 Jul 2015
3D graph X = Length in x axis, Y= Lenght in y axis, and what i want to represent is the temperature as z in this surface (XY)

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 13 Jul 2015
read the data in. reshape() and transpose() it if necessary. Then use surf()

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!