How do I add lines between individual scatter points in a bar graph?
6 次查看(过去 30 天)
显示 更早的评论
The picture of the plot is attached. I need to add lines between the individual scatter points within each bar group, so there will be 4 lines for each bar group.
Here is the part of the code for the scatter plot:
% code
for i = 1:12
scatter(x(i).* ones(length(num(i,:)),1),num(i,:),'*','MarkerEdgeColor',[0.20 0.21 0.22])
end;
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!