MATLAB Answers

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

1 view (last 30 days)
How can I change the line color in a graph using plot

  0 Comments

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 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

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags