Adding a point (x,y,'+') to parallelplot
2 次查看(过去 30 天)
显示 更早的评论
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);
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!