LaTeX - 星形线(内摆线的一种)
生活随笔
收集整理的這篇文章主要介紹了
LaTeX - 星形线(内摆线的一种)
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
2019獨(dú)角獸企業(yè)重金招聘Python工程師標(biāo)準(zhǔn)>>>
\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
轉(zhuǎn)載于:https://my.oschina.net/shaodongtang/blog/2252900
總結(jié)
以上是生活随笔為你收集整理的LaTeX - 星形线(内摆线的一种)的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Linux下文件的操作
- 下一篇: 《生命科学50讲》课程笔记9--自我