linewidth for specific line
Ältere Kommentare anzeigen
how to specify linewidth for one line in a multi line plot?
1 Kommentar
Ahmer Ashraf
am 23 Feb. 2020
I'm bound on linewidth property..I'm completing my assignment but this property is not going me forward.
Akzeptierte Antwort
Weitere Antworten (1)
Star Strider
am 6 Jan. 2017
Use the hold function and plot them individually:
x = 1:10;
y1 = rand(1, 10);
y2 = 1+rand(1,10);
figure(1)
plot(x, y1)
hold on
plot(x, y2, 'LineWidth',2)
hold off
grid
2 Kommentare
Noam
am 6 Jan. 2017
Star Strider
am 6 Jan. 2017
My pleasure.
If my Answer solved your problem, please Accept it!
Kategorien
Mehr zu Annotations finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
