select equity by touch

조회 수: 2 (최근 30일)
Luca Re
Luca Re 2023년 10월 9일
댓글: Luca Re 2023년 10월 10일
this is plot matrix
I want to select line and to know which column is selected

채택된 답변

Walter Roberson
Walter Roberson 2023년 10월 10일
Not all varieties of plotting support the kinds of datatips listed there. For some kinds of plots, see instead datacursormode
  댓글 수: 3
Walter Roberson
Walter Roberson 2023년 10월 10일
p = plot(1:10);
dtt = p.DataTipTemplate
Here plot() is a MATLAB function call that is being asked to work on the data [1,2,3,4,5,6,7,8,9,10] . plot() of a vector returns the handle to a Chart Line object, https://www.mathworks.com/help/matlab/ref/matlab.graphics.chart.primitive.line-properties.html which is an object-oriented object so the variable p would be the reference to the graphics object.
Luca Re
Luca Re 2023년 10월 10일
oky thank

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by