How to plot with no line
32 次查看(过去 30 天)
显示 更早的评论
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146998/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146999/image.png)
回答(1 个)
Azzi Abdelmalek
2015-2-2
编辑:Azzi Abdelmalek
2015-2-2
scatter(x,y)
%or
plot(x,y,'o')
4 个评论
Prabin Pandit
2020-5-8
Here is the code for ploting x vs.y asix with red color with no line .
plot(x,y,"r*")
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!