saving . . . saved Color of plot has been deleted. Color of plot has been hidden .
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 25-05-19, 2 p.m. geetachhikara

Answers:

Can you please try this command plot(x,cos(x),"r.", linewidth=3) and see if this works for you!
25-05-19, 2:31 p.m. doke.akshen@gmail.com
yes the above command is perfectly executing. I also tries plot(x,cos(x), "r--", linewidth=3), is also working.
25-05-19, 3:02 p.m. geetachhikara

Login to add comment


Log-in to answer to this question.