How can I choose both the color and shape of a line plotted and how it is represented in the legend??
Afficher commentaires plus anciens
I know how to choose either the color or marker individually, but how can I choose both together (i.e. red squares)?
I tried plot(x, y, 'square', 'r')
additionally, how can create a legend to represent both color and shape?
Réponses (1)
James Metz
le 3 Fév 2021
Modifié(e) : James Metz
le 3 Fév 2021
0 votes
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!