[Tex/LaTex] Drawing a half ellipse

tikz-pgf

How can we draw a half ellipse?
More precisely How can I remove a part of an ellipse in Tikz?
I could not fix it by using arc.

Best Answer

Of course you can draw half an ellipse with arc. The syntax is arc(<start angle>:<end angle>:<radius X> and <radius Y>), here are two examples.

\documentclass[tikz,border=3.14mm]{standalone}
\begin{document}
\begin{tikzpicture}
 \draw (0,0) arc(0:180:2cm and 1cm);
 \draw (4,0) arc(90:270:2cm and 1cm);
\end{tikzpicture}
\end{document}

enter image description here