saving . . . saved Multiple Plots has been deleted. Multiple Plots has been hidden .
Multiple Plots
Title
Question
In plot (x,sin(x),'b') and plot(x,cos(x),'g')

Here was does 'b' and 'g' denotes ?

kindly help me in this regard.

Python-3.4.3 Multiple-plots 06-07 min 20-30 sec 15-04-20, 12:01 p.m. Deb_007

Answers:

b and g denotes the color of the sin and cos curve, in this example used blue for sin curve is denoted by 'b' and green for cos curve is denoted by 'g'.
If you what the curve be red denote with 'r'.
Ex: plot(x,sin(x),'r')

15-04-20, 12:54 p.m. raji139
b for blue color curve and g for green color curve
23-04-20, 12:55 p.m. Priskilla

Login to add comment


Log-in to answer to this question.