필터 지우기
필터 지우기

How to plot with no line

조회 수: 9 (최근 30일)
Khairul Afifi
Khairul Afifi 2015년 2월 2일
댓글: Prabin Pandit 2020년 5월 8일
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
Jan
Jan 2015년 2월 2일
The question is not clear. What is "a plot with no line"?

댓글을 달려면 로그인하십시오.

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2015년 2월 2일
편집: Azzi Abdelmalek 2015년 2월 2일
scatter(x,y)
%or
plot(x,y,'o')
  댓글 수: 4
Khairul Afifi
Khairul Afifi 2015년 2월 3일
편집: Khairul Afifi 2015년 2월 3일
Here is the code, I hope you can provide infomation on how to plot with no line so I can identify the missing data.
masaexcel=xlsread('GAN_2013a.csv','A1:A480234');
masamatlab=x2mdate(masaexcel);
data=xlsread('GAN_2013a.csv');
mag=data(:,6);
figure, plot (masamatlab,mag);
datetick('x','dd-mmm-yyyy','keepticks');
Prabin Pandit
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 CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by