How can I change the line color in a graph using plot

3 Ansichten (letzte 30 Tage)
inhibitor181
inhibitor181 am 19 Sep. 2018
Beantwortet: Walter Roberson am 19 Sep. 2018
How can I change the line color in a graph using plot

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 19 Sep. 2018
Two examples:
plot(x, y, 'r') %named color, red
plot(x, y, 'Color', [0.37 0.88 .06]) %unnamed color given by relative intensities

Weitere Antworten (0)

Kategorien

Mehr zu Graph and Network Algorithms finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by