Borrar filtros
Borrar filtros

Adding a point (x,y,'+') to parallelplot

3 visualizaciones (últimos 30 días)
daniel mitchell
daniel mitchell el 19 de Abr. de 2022
Editada: Matt J el 19 de Abr. de 2022
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);
  1 comentario
daniel mitchell
daniel mitchell el 19 de Abr. de 2022
tried
hold on;
plot (x,y,'kx');
A = randn(5);
parallelplot(A);
but i got an error:
Adding ParallelCoordinatesPlot to axes is not supported. Turn hold off.

Iniciar sesión para comentar.

Respuesta aceptada

Matt J
Matt J el 19 de Abr. de 2022
Editada: Matt J el 19 de Abr. de 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;

Más respuestas (0)

Categorías

Más información sobre Two y-axis en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by