how to put long dash as line style in a plot
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how to put long dash as line style in a plot
0 commentaires
Réponses (1)
Star Strider
le 29 Jan 2016
Different plots sometimes require different specifications for 'LineStyle' and 'Marker'.
The long dash is the '--' 'LineStyle'.
For example:
x = linspace(0, 2*pi, 250);
y = sin(x);
figure(1)
plot(x, y, '--')
grid
0 commentaires
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!