How to plot with no line
조회 수: 9 (최근 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*")
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!