How to plot with no line
Show older comments
I wish to plot a graph with no line so I could identify the gap. It would look like similar to figure below where there is a gap since there are missing data. Hope, someone can provide information by using the toolbar in the figure section in Figure Matlab.


1 Comment
Jan
on 2 Feb 2015
The question is not clear. What is "a plot with no line"?
Answers (1)
Azzi Abdelmalek
on 2 Feb 2015
Edited: Azzi Abdelmalek
on 2 Feb 2015
scatter(x,y)
%or
plot(x,y,'o')
4 Comments
Khairul Afifi
on 2 Feb 2015
Azzi Abdelmalek
on 2 Feb 2015
what is your code
Khairul Afifi
on 3 Feb 2015
Edited: Khairul Afifi
on 3 Feb 2015
Prabin Pandit
on 8 May 2020
Here is the code for ploting x vs.y asix with red color with no line .
plot(x,y,"r*")
Categories
Find more on Line 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!