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
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')
Login to add comment