Clear Filters
Clear Filters

Removing connecting lines between points in plot

192 views (last 30 days)
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:
Thanks in advance.

Accepted Answer

Stefan Raab
Stefan Raab on 4 May 2016
add the following name value pair:
Kind regards, Stefan
utsav kakkad
utsav kakkad on 8 Jan 2019
I couldn't quite get it doing the same gives me an error
Can you please kindly give me the exact syntax of what exactly you did?
I need to remove a line coming bang in the middle of my graph & its frustrating me

Sign in to comment.

More Answers (2)

pinhas elbaiev
pinhas elbaiev on 25 Nov 2018
i dont understand...plz can u show what u did?

Maryam on 28 Jan 2019
errorbar(x, y ,'horizontal', 'LineStyle', 'none');
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. :)


Find more on 2-D and 3-D Plots in Help Center and File Exchange


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!