필터 지우기
필터 지우기

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

조회 수: 4 (최근 30일)
daniel mitchell
daniel mitchell 2022년 4월 19일
편집: Matt J 2022년 4월 19일
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
daniel mitchell
daniel mitchell 2022년 4월 19일
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.

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

채택된 답변

Matt J
Matt J 2022년 4월 19일
편집: Matt J 2022년 4월 19일
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개)

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by