TAGS

Uses PEEKPLOT to show attributes of 2D data via mouseclick

現在この提出コンテンツをフォロー中です。

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 (2026). TAGS (https://jp.mathworks.com/matlabcentral/fileexchange/11588-tags), MATLAB Central File Exchange. に取得済み.

謝辞

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

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0