Clear Filters
Clear Filters

Need help making a 3D or 2D contour plot

2 views (last 30 days)
Harrison Gardner
Harrison Gardner on 23 Feb 2017
Answered: KSSV on 23 Feb 2017
Hello,
I am trying to currently make a contour plot of data I gathered from a wind tunnel. I have three 81x1 vectors (lets call them x,y,z) that represents data points:
  • Vector's x & y are simply just position points in an x,y grid
  • Vector z is the measured velocity at that given (x,y) point
How can I make a plot that will show the magnitude of the velocity at that given point?
  1 Comment
Peter O
Peter O on 23 Feb 2017
Is the contour function giving you trouble, or are you looking for something more specific? contour3 is another option if you really want a 3D view.

Sign in to comment.

Answers (1)

KSSV
KSSV on 23 Feb 2017
plot3(x,y,z)

Categories

Find more on Vector Fields 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!