How to plot points without line

497 vues (au cours des 30 derniers jours)
Omar Abdullateef
Omar Abdullateef le 23 Mar 2019
Commenté : Moose le 25 Avr 2023
I'm trying to plot the following command
as points rather than a linear line how do i do that?

Réponse acceptée

madhan ravi
madhan ravi le 23 Mar 2019
plot(x,y,'or')

Plus de réponses (1)

Reza Mohammadkhani
Reza Mohammadkhani le 23 Mar 2020
Sets the line style as none, and select a marker as you like. For example:
plot(x, y,'linestyle','none','marker','o')
  2 commentaires
KaoYuKaoYu
KaoYuKaoYu le 20 Fév 2023
But the matlab tell me "Unrecognized attribute none for class Line."
Moose
Moose le 25 Avr 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!!

Connectez-vous pour commenter.

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by