フィルターのクリア

How to return the coordinates of the specified point in the scatter image to the main function

4 ビュー (過去 30 日間)
玥 曾
玥 曾 2022 年 11 月 29 日
コメント済み: 玥 曾 2022 年 11 月 29 日
Here is a scatter plot consisting of arbitrary points.
Now we select some specific points in that scatter plot.
However, we want to return the coordinates of the selected point in the above figure to the main function. How to solve this problem, please.

回答 (1 件)

KSSV
KSSV 2022 年 11 月 29 日
REad about ginput, getpts
  1 件のコメント
玥 曾
玥 曾 2022 年 11 月 29 日
I have tried to use the two functions you recommended, but I want to get the exact coordinates of the points (I am using getpts and ginput to get approximate coordinates of the points). In fact, the points in Figure 1 are known points, and the function I want to implement is to filter out certain anomalies from these known points by mouse interaction. Thank you very much.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeVisual Exploration についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by