Mouse click in a particle Swarm optimization

조회 수: 2 (최근 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 CenterFile Exchange에서 Data Exploration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by