LaTeX - 星形线(内摆线的一种)
生活随笔
收集整理的這篇文章主要介紹了
LaTeX - 星形线(内摆线的一种)
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
2019獨角獸企業重金招聘Python工程師標準>>>
\documentclass[border=0,tikz]{standalone} %\usetikzlibrary{quotes,angles} \usetikzlibrary{arrows.meta} \usetikzlibrary{datavisualization.formats.functions}% hanshu %\usetikzlibrary{calc}% \usetikzlibrary{decorations.pathreplacing} \usepackage{scalerel} %\scaleobj{1.5}{} 縮放公式大小 \begin{document} \begin{tikzpicture} \draw[arrows={-Stealth[length=5pt, inset=4.5pt]}] (-1.75,0) -- (1.75,0)node (xaxis) [below=-0.5mm] {$\scaleobj{0.5}{x}$}; \draw[arrows={-Stealth[length=5pt, inset=4.5pt]}] (0,-1.75) -- (0,1.75)node (yaxis) [left=-0.75mm] {$\scaleobj{0.5}{y}$}; \draw (-0.12,-0.12) node {$\scaleobj{0.5}{o}$}; \draw[color=red,scale=0.75, domain=-3.142:3.142, smooth, variable=\t ] plot ( {2*cos(\t r)^3}, {2*sin(\t r)^3} ); \end{tikzpicture} \end{document}參考Easiest way to plot a function with PGF/TikZ
轉載于:https://my.oschina.net/shaodongtang/blog/2252900
總結
以上是生活随笔為你收集整理的LaTeX - 星形线(内摆线的一种)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Linux下文件的操作
- 下一篇: Box2d 物体互相碰撞的条件