Color of plot
Title
Question
While completing the exercise given in video, I written the code plot(x,cos(x), '.',"r", linewidth=3).
The output plot I obtained was of blue color rather than red.
Python-3.4.3 Embellishing-a-plot 05-06 min 30-40 sec
Answers:
Can you please try this command plot(x,cos(x),"r.", linewidth=3) and see if this works for you!
Login to add comment