Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

I have a a simpe graph, say sine wave. Using uicontrol i added a check box on the above-mentioned sinwave figure. Now on check box click/unclick a vertical line appears/disppears on figure. I wanwant to have handle of this line to slide it on the si

조회 수: 1 (최근 30일)
uicontrol('type','checkbox','string','plz tick','callback','{@dt,xm}');
Function H = dt(hObject,xm)
H=line([xm xm] [-1 1]);
end

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by