Mouse click in a particle Swarm optimization

1 回表示 (過去 30 日間)
john pag
john pag 2014 年 1 月 28 日
コメント済み: john pag 2014 年 1 月 28 日
Hello, I want ask how put a mouse click to define a point in space with a window size [min1, max1] and [min2, max2]?

採用された回答

Walter Roberson
Walter Roberson 2014 年 1 月 28 日
ginput() or figure ButtonDownFcn callback that uses get(0,'CurrentPoint')

その他の回答 (1 件)

john pag
john pag 2014 年 1 月 28 日
i have one more question for mouse click where put code? Can with the code of mouse click to define a point in space with a window?
  2 件のコメント
Walter Roberson
Walter Roberson 2014 年 1 月 28 日
I do not understand your second sentence ?
john pag
john pag 2014 年 1 月 28 日
sorry for my english.
Can I with the code of mouse click to make a point in space with a window size [min1, max1] and [min2, max2]?

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

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by