Effacer les filtres
Effacer les filtres

Is it possible to change the dots size of a dotted line?

4 vues (au cours des 30 derniers jours)
Viviana Arrigoni
Viviana Arrigoni le 16 Avr 2018
Commenté : Jan le 16 Avr 2018
I have a dotted line with asterisks in (X,Y). They are few points, but I would like to increase the size of the dots of the line connecting them. I tried to so it as follows but it did not work.
plot(X,Y,':*','LineWidth',10,'Color','[0 0.6 1]');
  2 commentaires
Birdman
Birdman le 16 Avr 2018
Is there an error message being thrown or is there no change when you run the code?
Jan
Jan le 16 Avr 2018
"It does not work" is a weak description of the problem. Please explain, what you see. Defining the Color as a string is strange. I suggest to omit the quotes around [0 0.6 1].

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Line 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