How do I plot a contour line around a series of data points?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a series of data points indicating the performance for a range of different generic material types, and I want to plot a contour line around those points for illustrating the range of performance for a given material type, as in the image below.

Is plotting a graph/chart like this possible in Matlab? The data is stored as a series of numeric matrices.
1 comentario
Star Strider
el 28 de En. de 2016
You could do that with an area or patch plot, but it would not be trivial.
Respuestas (2)
Walter Roberson
el 28 de En. de 2016
You need a scattered interpolant such as http://www.mathworks.com/help/matlab/ref/scatteredinterpolant-class.html or http://www.mathworks.com/help/matlab/ref/triscatteredinterp.html. Then you can use contourf(). However, in R2014b or later you might have difficulty using transparency if you use contourf()
0 comentarios
David MERCIER
el 18 de Oct. de 2018
Editada: David MERCIER
el 18 de Oct. de 2018
1 comentario
David MERCIER
el 19 de Oct. de 2018
A possible function to use is this one: 54568-clustering-with-gaussian-mixture-models-gmms. Then, contourf or isosurfaces... is a simple way to encapsulate or surround cloud/cluster of points with a rounded shape.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!