plot3, how to plot
1 次查看(过去 30 天)
显示 更早的评论
i have Z={1x1 cell} {1x7 cell} {1x2 cell}
for j=1:k2
for d=1:length(Z{j})
B=Z{j}{d}
if (j==j)
plot3(B(1),B(2),B(3),'*b')
end
end
end
I want to plot if each j had other color
Thanks.
7 个评论
Walter Roberson
2013-11-18
What should the three values be connected to? Should there be a different line for each "j", or should there just be one line total but the parts of it that come from different "j" should be in different colors?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!