Data Tips in parallelplot

조회 수: 10 (최근 30일)
broken_arrow
broken_arrow 2022년 4월 7일
답변: Adam Danz 2024년 2월 13일
I have some additional data point information which I would like to display in the data tips of a parallel coordinate plot (function "parallelplot"). Unfortunately the "data tip properties" of the parallelplot handle are not readily accessible. Hence my question:
Is there a way to modify the data tips? Or maybe there is some workaround using a mouseover function or something similar?
  댓글 수: 1
Gernot Reichl
Gernot Reichl 2024년 2월 12일
편집: Gernot Reichl 2024년 2월 12일
got the same issue @Adam Danz do you have any advice? Your last support was really helpful.
Thank you in advance
kind regards

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

답변 (2개)

Adam Danz
Adam Danz 2024년 2월 13일
The only way to add content to the datatip in parallelplot is to do so interactively by right-clicking the datatip in parallelplot and selecting "Modify Data Tips". There, you can select additional table variables to appear in the datatip.
tsunamis = readtable('tsunamis.xlsx');
coordvars = {'Year','Validity','Cause','Country'};
p = parallelplot(tsunamis,'CoordinateVariables',coordvars,'GroupVariable','Validity');

Gernot Reichl
Gernot Reichl 2024년 2월 12일
I use the coordvars input argument to select the desired variables from the data input tabel
h = parallelplot(data(:,1:8),'GroupVariable','Origin','CoordinateVariables',{'Weight','Accelaration'})
% additional datatip information from data-table is included
Is it possible to fix the datatips by clicking? I've used a buttonDownFunction so far. Does not work...
Additionally the hovered value is added to the datatip in the first line. Is there a way to disable it?
Thank you

카테고리

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

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by