I am a beginner in Tikz
and I have two questions:
- I'm trying to draw the picture below but have been unsuccessful (I drew the right part though but couldn't draw the left one)
- How can I reuse these two shapes in other pictures if I use them a lot?
This is what I used to draw the right part:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\draw[semithick] (0,0) -- (1,4);% left line
\draw[semithick] (3,0) -- (2,4);% right line
\draw[semithick] (0,0) arc (180:0:1.5 and -0.5);
\draw[semithick] (1.5,4) ellipse (0.5 and 0.166);
\end{tikzpicture}
\end{document}
I appreciate your help and thank you in advance.
Best Answer
For re-using, you can use
pic
:I have also defined a new
radiation
style usingexapnding waves
decoration.