# Writing code for image [closed]

Can someone help me to write code for the following figure. I want to insert it in a presentation and am not well versed with graphics?

## closed as unclear what you're asking by Martin Schröder, Troy, Bobyandbob, Phelype Oleinik, egregFeb 20 '18 at 23:59

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• Do you mind learning TikZ or MetaPost? You will, eventually, if you do lots of drawings like this. – Astrinus Feb 12 '18 at 15:23
• Welcome to TeX.SX! What have you done so far? Tikz should do this job. Here is a nice example, which should help: Nice scientific pictures show off – Bobyandbob Feb 12 '18 at 15:26
• I am keen to learn Tikz or some other package. But I wanted it for a presentation. Secondly, I had no idea as to how should I start? \\ Anyway thanks for your advice – Ehsa Feb 12 '18 at 15:41
• Questions about how to draw specific graphics that just post an image of the desired result are really not reasonable questions to ask on the site. Please post a minimal compilable document showing that you've tried to produce the image and then people will be happy to help you with any specific problems you may have. See minimal working example (MWE) for what needs to go into such a document. – Martin Schröder Feb 20 '18 at 21:05

This produces something rather similar.

\documentclass[tikz]{standalone}
\usetikzlibrary{intersections}
\begin{document}
\begin{tikzpicture}
\draw[thick] (0,0) -- (10,0) node[above,pos=0.4]{Ground plane};
\draw[latex-latex] (1,-1) -- (9,-1) node[midway,fill=white,minimum width=1cm] {$r$};
\coordinate (receiver) at (9,1);
\coordinate (fakereceiver) at (9,-1);
\coordinate (sender) at (1,3);
\coordinate (fakesender) at (1,-3);
%\coordinate (reflector) at (7,0);
\draw[thick] (sender) -- (receiver) node[above,pos=0.15]{\begin{tabular}{c}
sending\\ antenna\end{tabular}};
\coordinate (reflector) at (intersection of sender--fakereceiver and
{$h_s$};