答案1
给你!(另见这朵五瓣睡莲)
\documentclass[tikz,border=3mm]{standalone}
\begin{document}
\begin{tikzpicture}
\pgfmathsetmacro\R{sqrt(7/pi)}
\draw[smooth,magenta,fill=violet!30] plot[domain=0:36*5,samples=200] (\x:{\R*cos(5*\x)});
\end{tikzpicture}
\end{document}
答案2
为了好玩,代码相当短pstricks
(我用数字近似值替换了系数):
\documentclass[svgnames, border=3pt]{standalone}
\usepackage{pst-plot}
\begin{document}
\psset{arrowinset=0.12,unit=2,plotpoints = 2000, plotstyle=curve, linejoin=1}
\begin{pspicture*}(-2,-2)(2,2)
\psplot[algebraic, polarplot, linecolor=IndianRed, linewidth=1.2pt, fillstyle=solid, fillcolor=MistyRose!50]{-3.1416}{3.1416}{1.5*cos(5*x)}
\psaxes[linecolor=LightSteelBlue, tickcolor=LightSteelBlue, xAxis=true,yAxis=true,labels=none, ticksize=2pt -2pt, showorigin=false]{->}(0,0)(-1.8,-1.8)(1.8,1.8)
\end{pspicture*}
\end{document}