Contour plots in terms of 3 variables
1 view (last 30 days)
Show older comments
Hi all - I hope someone can help me.
I have three data sets:
- wind speed
- wind direction
- error.
What I'd like to do is to create a contour plot that shows values of error in terms of the wind speed and direction - in so far that the diagram will illustrate where the greater values of error are with respect to both wind speeds and direction. Can any one help??
Answers (3)
the cyclist
on 10 Feb 2012
Use the contour() function. Type "doc contour" into MATLAB for details.
5 Comments
the cyclist
on 14 Feb 2012
I think what you want is the colorbar command. Just run that command after your code.
Image Analyst
on 12 Feb 2012
Why not use TriScatteredInterp() to turn your set of (x,y,z) triplets into an image, and display it as an image? That would probably be an insightful visualization and allow you to see patterns. Or you can do a surface plot. There's a nice demo for that in the help for TriScatteredInterp().
0 Comments
Sean de Wolski
on 14 Feb 2012
It sounds like you might be interested in a streamtube or streamribbon plot.
doc streamribbon
doc streamtube
0 Comments
See Also
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!