contour plot, non-grid arranged coordinates
4 次查看(过去 30 天)
显示 更早的评论
Hello,
I've been using contourf plots alot and until now I all the data I have been using has been arranged in a nice rectalinear grid. I could do with being able to plot contour plots using data colected from random, unstructured locations, albeit with known coordinates. Beacuse of this I cannot create a typical 'z' matrix containing the data, because the data was not collected at points arranged in a grid. I can't find how to plot this, but this may be due to ineptness on my behalf, is it possible to plot this data? It is not appropriate for me to interpolate the data onto a grid.
Thank you for your help,
Josh
0 个评论
回答(1 个)
Walter Roberson
2011-8-3
Unfortunately, in MATLAB about the only mechanism to plot when your coordinates are irregularly spaced, is by using scatter() . That does not, however, solve the problem of contouring over the data.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Contour Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!