DevJourney · code I wrote while learning
1theta = linspace(0,2*pi,200); 2r = 3 * cos(theta/2).^2+theta; 3polar(theta,r)