Mouse click in a particle Swarm optimization

2 Ansichten (letzte 30 Tage)
john pag
john pag am 28 Jan. 2014
Kommentiert: john pag am 28 Jan. 2014
Hello, I want ask how put a mouse click to define a point in space with a window size [min1, max1] and [min2, max2]?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 28 Jan. 2014
ginput() or figure ButtonDownFcn callback that uses get(0,'CurrentPoint')

Weitere Antworten (1)

john pag
john pag am 28 Jan. 2014
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 Kommentare
Walter Roberson
Walter Roberson am 28 Jan. 2014
I do not understand your second sentence ?
john pag
john pag am 28 Jan. 2014
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]?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Data Exploration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by