tikz技巧

手册48.3,找border

\begin{tikzpicture}[decoration={markings, mark=between positions 0 and 1 step 0.1 with { \draw (0pt,0pt) -- (0pt,3pt);}}] \draw [help lines](-1,-1) grid (1,1); \draw [postaction={decorate}] (0,0) circle[radius=1cm]; \end{tikzpicture} \begin{tikzpicture}[decoration={markings, mark=between positions 0 and 1 step 0.1 with { \draw (0pt,0pt) -- (0pt,-3pt);}}] \draw [help lines] (-1,-1) grid (1,1); \draw [postaction={decorate}] (0,0) circle[radius=1cm]; \end{tikzpicture}

 

pgfmanual3.0.1a.pdf 577/1161, 48 Decoration library

 

\begin{tikzpicture}[decoration={markings, mark=between positions 0 and 1 step 0.1 with { \draw (0pt,0pt) -- (0pt,3pt);}}] \draw [help lines](-1,-1) grid (1,1); \draw [postaction={decorate}] (0,0) circle[radius=1cm]; \end{tikzpicture}\qquad \begin{tikzpicture}[decoration={markings, mark=between positions 0 and 1 step 0.1 with { \draw (0pt,0pt) -- (0pt,-3pt);}}] \draw [help lines] (-1,-1) grid (1,1); \draw [postaction={decorate}] (0,0) circle[radius=1cm]; \end{tikzpicture}\qquad \begin{tikzpicture}[decoration={markings, mark=between positions 0 and 1 step 0.1 with { \draw (0pt,0pt) -- (0pt,3pt);}}] \draw[semithick,line cap=round,postaction={decorate}] (0cm,0cm)..controls(1.25,0.45)..(2.25,0) ..controls(3.25,-0.45)..(4.5,0); \end{tikzpicture}

 

\draw[pattern= north east lines] 

posted @ 2018-07-04 11:54  LZY数思  阅读(330)  评论(0编辑  收藏  举报