Forgot password?
 Register account
View 1677|Reply 0

TikZ 之 curve 好一阵纠结

[Copy link]

768

Threads

4685

Posts

26

Reputation

Show all posts

isee posted 2013-6-27 15:41 |Read mode
2013年北京中考数学试卷里有这么旋转对称的一个图

curve.png

走了好多弯路,翻了下,手册,原来有 针对 曲线 的 to 命令,于是
  1. \begin{tikzpicture}[line width=0.75pt]
  2. \coordinate (O) at (0,0);
  3. \foreach \x in {0,120,240}
  4. {
  5. \draw[rotate=\x] (0:.55) to [out=100,in=0](120:1);
  6. \draw(O)--(\x:1);
  7. }
  8. \end{tikzpicture}
Copy the Code
分分钟OK

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | 快速注册

$\LaTeX$ formula tutorial

Mobile version

2025-6-8 06:49 GMT+8

Powered by Discuz!

Processed in 0.019275 second(s), 24 queries

× Quick Reply To Top Edit