Removing connecting lines between points in plot
显示 更早的评论
Hi, When i try to plot the following data x,y, and z using plot 3 function, i'm getting the plot, where the points have connection lines between them. How can i remove those connecting lines between points ? This is my code:
x=0:5:50;
y=0:5:50;
z=0:5:50;
plot3(x,y,z,'Color',[1,0,0],'Marker','o');
Thanks in advance.
采纳的回答
更多回答(2 个)
pinhas elbaiev
2018-11-25
0 个投票
i dont understand...plz can u show what u did?
1 个评论
utsav kakkad
2019-1-8
did you get it finally?
can you please show me what you did?
Maryam
2019-1-28
errorbar(x, y ,'horizontal', 'LineStyle', 'none');
Pinhas,
try the code line above.
I was trying to plot the std lines horizontally, but I got some extra vertical lines. With this code line however, it only gave the horizontal lines.
Thanks Stefan. :)
类别
在 帮助中心 和 File Exchange 中查找有关 Graphics Performance 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!