How can I remove lines connecting markers?

16 visualizaciones (últimos 30 días)
Pul
Pul el 19 de Nov. de 2021
Editada: Pul el 25 de Nov. de 2021
Hello everyone,
I would like to remove the lines connecting markers and keeping just the markers (triangles,circles and asterisks). How can I do it?
Thank you.

Respuesta aceptada

Star Strider
Star Strider el 19 de Nov. de 2021
I am not certain what the problem actually is.
One option is instead of plotting lines (the default for the plot function), specify it to plot only the markers, for example —
plot(giulia_daily.Time(:,1),[giulia_daily.Var5(:,1) med], '.');
↑ ← SPECIFY MARKER TO PLOT ONLY THE MARKER WITHOUT CONNECTING LINES
See if that gives the desired result.
.
  8 comentarios
Pul
Pul el 25 de Nov. de 2021
Okay, thank you!
Star Strider
Star Strider el 25 de Nov. de 2021
As always, my pleasure! .

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by