
# Plot the cardioids in polar co-ordinates Plot.title('Cardioids in polar format:radius = a + (b*sin(k*radian))')

# Example Python Program to plot Cardioids that are Output2-Cardioids-Symmetrical around x-axis:Įxample3-Cardioids-Symmetrical around y-axis: Plot.title('Cardioids in polar format:radius = a + (b*cos(k*radian))') # Example Python Program to plot Cardioids When a=-1, b=-1 and k=1, the cardioids are symmetrical around x-axis on the negative side.When a=1, b=1 and k=1, the cardioids are symmetrical around x-axis on the positive side.The polar forms of the cardioids are given by:.When the radii of two circles are equal, and when one circle is fixed and the other circle is rolling on the first one – a point on the rolling circle traced will plot a cardioid.# Plot a circle with radius 2 using polar formĮxample2-Cardioids-Symmetrical around x-axis: # Example Python Program to plot a polar plot of a circle The equation of the circle in polar form is given by r = R. The python code below plots a circle using polar form. Remember, any mathematical function that can be plotted using the Cartesian coordinate system can be plotted using the polar co-ordinates as well.The pyplot module of Python Matplotlib provides the function polar which draws a polar plot.

