Azzera filtri
Azzera filtri

select equity by touch

2 visualizzazioni (ultimi 30 giorni)
Luca Re
Luca Re il 9 Ott 2023
Commentato: Luca Re il 10 Ott 2023
this is plot matrix
I want to select line and to know which column is selected

Risposta accettata

Walter Roberson
Walter Roberson il 10 Ott 2023
Not all varieties of plotting support the kinds of datatips listed there. For some kinds of plots, see instead datacursormode
  3 Commenti
Walter Roberson
Walter Roberson il 10 Ott 2023
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 il 10 Ott 2023
oky thank

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Graphics Object Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by