select equity by touch

1 回表示 (過去 30 日間)
shamal
shamal 2023 年 10 月 9 日
コメント済み: shamal 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.
shamal
shamal 2023 年 10 月 10 日
oky thank

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by