Borrar filtros
Borrar filtros

How to plot with no line

9 visualizaciones (últimos 30 días)
Khairul Afifi
Khairul Afifi el 2 de Feb. de 2015
Comentada: Prabin Pandit el 8 de Mayo de 2020
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 comentario
Jan
Jan el 2 de Feb. de 2015
The question is not clear. What is "a plot with no line"?

Iniciar sesión para comentar.

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 2 de Feb. de 2015
Editada: Azzi Abdelmalek el 2 de Feb. de 2015
scatter(x,y)
%or
plot(x,y,'o')
  4 comentarios
Khairul Afifi
Khairul Afifi el 3 de Feb. de 2015
Editada: Khairul Afifi el 3 de Feb. de 2015
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 el 8 de Mayo de 2020
Here is the code for ploting x vs.y asix with red color with no line .
plot(x,y,"r*")

Iniciar sesión para comentar.

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by