Line series marker question
显示 更早的评论
When plotting, is it possible to have more than one marker type for the same line series? eg.... plot([0 1],[0 1]) - with two different markers?
采纳的回答
更多回答(1 个)
Wayne King
2011-10-13
Yes,
plot([0 1],[0 1],'b-*');
hold on;
plot([0 1],[0 1],'r-.^'); axis([-0.5 1.5 -0.5 1.5]);
% or
clf
plot([0 1],[0 1],'b-*',[0 1],[0 1],'r-.^');
axis([-0.5 1.5 -0.5 1.5]);
1 个评论
Walter Roberson
2011-10-13
No, those use different line series
类别
在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!