Borrar filtros
Borrar filtros

How to plot points without line

222 visualizaciones (últimos 30 días)
Omar Abdullateef
Omar Abdullateef el 23 de Mzo. de 2019
Comentada: Moose el 25 de Abr. de 2023
I'm trying to plot the following command
as points rather than a linear line how do i do that?

Respuesta aceptada

madhan ravi
madhan ravi el 23 de Mzo. de 2019
plot(x,y,'or')

Más respuestas (1)

Reza Mohammadkhani
Reza Mohammadkhani el 23 de Mzo. de 2020
Sets the line style as none, and select a marker as you like. For example:
plot(x, y,'linestyle','none','marker','o')
  2 comentarios
KaoYuKaoYu
KaoYuKaoYu el 20 de Feb. de 2023
But the matlab tell me "Unrecognized attribute none for class Line."
Moose
Moose el 25 de Abr. de 2023
Can't upvote this but your response just answered a question I've been puzzling over for entirely too long haha. thank you so much!!

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D 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