Forgot password?
 Create new account
View 122|Reply 0

TikZ重复使用path

[Copy link]

3147

Threads

8493

Posts

610K

Credits

Credits
66163
QQ

Show all posts

hbghlyj Posted at 2023-7-26 10:00:57 |Read mode
Last edited by hbghlyj at 2023-7-26 10:08:00这帖绘制参数曲线是关于原点对称的,只绘制¼再关于x轴,y轴对称就能得到完整的曲线,比直接绘制整个曲线快一点。
TikZ中可以使用save pathuse path达到重复使用path的效果:

再加上较小的分支

上面是把两个plot分别对称。更简单的方式是把两个plot合并到一条path再对称:

手机版Mobile version|Leisure Math Forum

2025-4-20 22:18 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list