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?

enter image description here

closed as unclear what you're asking by Martin Schröder, Troy, Bobyandbob, Phelype Oleinik, egreg Feb 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.

  • 1
    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
  • 2
    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.

\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
\draw[thick,-latex] (reflector) -- (receiver) node[above]{\begin{tabular}{c}
receive\\ antenna\end{tabular}};
\draw[thick,-latex] (sender) -- (reflector);
\draw[latex-latex] (0.5,0) -- (0.5,0 |- sender) node[midway,fill=white,minimum width=1cm]

enter image description here

  • Thanks a lot. Any suggestions on how should I proceed in graphics – Ehsa Feb 12 '18 at 15:44
  • @Ehsa Please tell me more precisely what you mean, and give me a few minutes, I'm trying to improve the code... – marmot Feb 12 '18 at 15:56
  • Thanks for your concern. Actually, I want to learn Tikz or other relevant packages and want to know about some tutorials or simple examples to start with – Ehsa Feb 12 '18 at 16:13
  • 1
    @Ehsa I really enjoy learning TikZ, but I'd like to mention that the learning will never end ;-) I improved the above code in that I made sure that the signal gets really reflected, i.e. the impact angle and the angle of the outgoing signal match even if you move the sender and receiver around. (In this version, you need to adjust the fakesender and fakereceiver coordinates by hand, it can be automatized, but I think that would be too overwhelming for the moment.) Notice that this is a very nice forum and you will always get nice answers to appropriate questions, so learning will be fun. – marmot Feb 12 '18 at 16:21

Not the answer you're looking for? Browse other questions tagged or ask your own question.