Adding a point (x,y,'+') to parallelplot
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
for example heres a parallel plot how can i add a sign somewhere on the created figure in the (x,y) points?
A = randn(5);
parallelplot(A);
Risposta accettata
Matt J
il 19 Apr 2022
Modificato: Matt J
il 19 Apr 2022
I think you have to embed the point in the parallel data. Parallel plots are not meant to be thought of as Cartesian plots.
x=5;y=-1.5;
A = randn(3,5);
A(end+1,:)=nan; A(end,x)=y; %embed x,y in A
p=parallelplot(A,'groupData',[1,1,1,2],'Color',{'blue','red'});
p.MarkerStyle={'none','o'};
p.MarkerSize(end)=10;
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Lighting, Transparency, and Shading in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!