TAGS

バージョン 1.0.0.0 (1.36 KB) 作成者: Jim Hedfors
Uses PEEKPLOT to show attributes of 2D data via mouseclick
ダウンロード: 707
更新 2006/6/29

ライセンスがありません

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.

引用

Jim Hedfors (2024). TAGS (https://www.mathworks.com/matlabcentral/fileexchange/11588-tags), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R13
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersPolygons についてさらに検索
謝辞

ヒントを得たファイル: Peekplot

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0