Linestyle with plot3
显示 更早的评论
Hi everyone,
how to change linestyle when using plot3. I am trying to plot a dashed dot line (-----) between two points, it is not working. When I used:
plot3([x1,x2],[y1,y2],[z1,z2],'linewidth',3,'k--'),
only the linewidth and the color change but the linestyle is still solid. Please, would someone explain me how to set changes. Thanks a lot for advance. All the best !!!
1 个评论
回答(1 个)
Walter Roberson
2017-6-29
plot3([x1,x2],[y1,y2],[z1,z2],'k--','linewidth',3),
5 个评论
Mma Kenya
2017-6-29
Walter Roberson
2017-6-29
编辑:Walter Roberson
2017-6-29
It works for me. Which release are you using?
plot3([1 2],[3 4],[5 6],'k--','LineWidth',3)
Mma Kenya
2017-6-29
Walter Roberson
2017-6-29
Mma Kenya
2017-6-29
类别
在 帮助中心 和 File Exchange 中查找有关 Octave 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!