TAGS

Uses PEEKPLOT to show attributes of 2D data via mouseclick
708 téléchargements
Mise à jour 29 juin 2006

Aucune licence

out = TAGS(X,Y,attr1,attr2,attr3,...) returns a 2D plot of X, Y, and enables you to peek at attributed data attr1, attr2,... via mouseklick.

TAGS only extends the functionality of PEEKPLOT to show any 2D data with additional attributes instead of just X and Y values. This is particularly useful for geographic information (or you name it...) where a coordinate pair may be associated with various parameters.

For example, say you have water samples from a number of wells with known geographic coordinates and associated data lined upp in a table:

X Y Z Depth pH Na
------------------------------------------------
1487015 6238640 101 1.7 5.5 0.22
1490308 6235131 99 5.6 5.7 0.12
1490370 6237609 29 3.2 5.3 0.24
1489339 6236778 122 5.4 8.0 0.44
1487292 6235131 78 7.3 2.3 0.21

then to use peeks:
x=[1487015 1490308 1490370 1489339 1487292];
y=[6238640 6235131 6237609 6236778 6235131];
z=[101 99 29 122 78];
pH=[5.5 5.7 5.3 8.0 2.3];
Na=[0.22 0.12 0.24 0.44 0.21];
Depth = [1.7 5.6 3.2 5.4 7.3];

WELLS=TAGS(x,y,z,pH,Na,N,Depth,Quality);

Use the mouse (left mouse button hold) near a data point.

Citation pour cette source

Jim Hedfors (2026). TAGS (https://fr.mathworks.com/matlabcentral/fileexchange/11588-tags), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R13
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Polygons dans Help Center et MATLAB Answers
Remerciements

Inspiré par : Peekplot

Version Publié le Notes de version
1.0.0.0