contour plot, non-grid arranged coordinates

4 vues (au cours des 30 derniers jours)
Joshua Fuller
Joshua Fuller le 3 Août 2011
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

Réponses (1)

Walter Roberson
Walter Roberson le 3 Août 2011
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.

Catégories

En savoir plus sur Contour Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by