using MarkerSize in plot3
4 次查看(过去 30 天)
显示 更早的评论
I have two matrices, A and B, size of each is
. Each row represents a coordinate (x,y,z).
. Each row represents a coordinate (x,y,z).I want to display both of them on the same coordiante system using plot3.
I would like to change the MarkerSize of each set to be something different.
My attempt (which didn't work)
plot3(A(:,1), A(:,2), A(:,3), 'MarkerSize', 5, 'xr', B(:,1), B(:,2), B(:,3), 'sb', 'MarkerSize', 10);
0 个评论
采纳的回答
madhan ravi
2020-6-2
编辑:madhan ravi
2020-6-2
https://www.mathworks.com/help/matlab/ref/plot3.html#mw_e90f6fb5-050e-4dda-8f6d-e0eaab1d995e. My suggestion is to use two plot3(...) calls with hold on
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!