1

I would like to draw beams pointing towards any angle of my choice as shown in the picture. Can anyone help with the latex code please? enter image description here

0

1 Answer 1

1

Note that I do not claim that this is a realistic representation of the power of the field emitted by an antenna. This is just to say that you can do parametric plots with tikz-pgf, with which this question is tagged.

\documentclass[tikz,border=3mm]{standalone}
\begin{document}
\begin{tikzpicture}
 \draw plot[variable=\t,domain=0:360,smooth,samples=51] 
  ({180+18*sin(\t)}:{4*pow(sin(\t/2),3)});
 \draw plot[variable=\t,domain=0:360,smooth,samples=51] 
  ({225+12*sin(\t)}:{6*pow(sin(\t/2),3)});
 \node[circle,fill,inner sep=1.5pt,label=right:$x$]{}; 
\end{tikzpicture}
\end{document}

enter image description here

1
  • Thank you Schrödinger's cat. This is exactly what I am wanting to do. Cheers!
    – user201067
    Commented Nov 11, 2019 at 10:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .