"TikZ 점, 선, 경로"의 두 판 사이의 차이

(새 문서: ==개요== ;<nowiki>TikZ 기본 요소: 점, 선, 경로</nowiki> <syntaxhighlight lang='tex' run> \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \dr...)
 
12번째 줄: 12번째 줄:
\draw (-2,-2) .. controls (0,0) .. (2,-2);
\draw (-2,-2) .. controls (0,0) .. (2,-2);
\draw (-2,2) .. controls (-1,0) and (1,0) .. (2,2);
\draw (-2,2) .. controls (-1,0) and (1,0) .. (2,2);
\end{tikzpicture}
\end{document}
</syntaxhighlight>
<syntaxhighlight lang='tex' run>
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (-20,0) -- (20,0);
\filldraw [gray] (0,0) circle (2pt);
\draw (-20,-20) .. controls (0,0) .. (20,-20);
\draw (-20,20) .. controls (-10,0) and (10,0) .. (20,20);


\end{tikzpicture}
\end{tikzpicture}

2023년 2월 10일 (금) 19:19 판

1 개요

TikZ 기본 요소: 점, 선, 경로
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}

\draw (-2,0) -- (2,0);
\filldraw [gray] (0,0) circle (2pt);
\draw (-2,-2) .. controls (0,0) .. (2,-2);
\draw (-2,2) .. controls (-1,0) and (1,0) .. (2,2);

\end{tikzpicture}
\end{document}
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}

\draw (-20,0) -- (20,0);
\filldraw [gray] (0,0) circle (2pt);
\draw (-20,-20) .. controls (0,0) .. (20,-20);
\draw (-20,20) .. controls (-10,0) and (10,0) .. (20,20);

\end{tikzpicture}
\end{document}

2 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}