首页编程开发Matplotlib【数据可视化(Matplo...

【数据可视化(Matplotlib篇)】27.函数与符号的TeX撰写方式汇总

本系列文章配套代码获取有以下两种途径:

  • 通过百度网盘获取:
链接:https://pan.baidu.com/s/1jG-rGG4QMuZu0t0kEEl7SA?pwd=mnsj 提取码:mnsj
  • 前往GitHub获取
https://github.com/returu/Data_Visualization





本篇主要罗列一些在使用matplotlib绘图时,可能使用到的函数名称或者符号的Tex的撰写方式(来源为matplotlib官方网站)。
  • 小写希腊字母:

α 

alpha

β

  beta

χ 

chi

δ

  delta

ϝ digamma

ε

epsilon

η 

eta

γ gamma

ι

iota

κ

kappa

λ

lambda

μ

mu

ν 

nu

ω omega

ϕ

phi

π

pi

ψ

psi

ρ

rho

σ sigma

τ

tau

θ 

theta

υ

upsilon

ε varepsilon ϰ varkappa
φ varphi

ϖ

varpi

ϱ varrho ς varsigma

ϑ

vartheta

ξ

xi

ζ 

zeta






  • 大写希腊字母:
Δ Delta Γ Gamma Λ Lambda Ω Omega

Φ

Phi

Π Pi Ψ Psi
Θ Theta

Υ

Upsilon

Σ 

Sigma

℧ 

mho

∇ nabla

Ξ

Xi


  • 分隔符:

/

/

]

]

⇓ 

Downarrow

Uparrow

Vert

 

backslash

[

[

}

lceil

lfloor

⌞ 

llcorner

⌟ 

lrcorner

|

{

⌋ 

rfloor

⌜ 

ulcorner

↑ 

uparrow

⌝ 

urcorner

|

|

vert

↓ 

downarrow

rangle

⟨ 

langle

⌉ 

rceil

  • 大符号:

⋂ bigcap

int

⨀ bigodot ⨁ bigoplus ⨂ bigotimes ⨄ biguplus
⋁ bigvee ∑ sum

∐ 

coprod

bigcup

⋀ bigwedge

∏ 

prod

oint






  • 标准函数名称:

Pr 

Pr

arccos arccos arcsin arcsin arctan arctan

arg

arg

cos cos
cosh cosh

cot

cot

coth 

coth

csc 

csc

deg deg det det
dim dim

exp

exp

gcd 

gcd

hom 

hom

inf 

inf

ker ker

lg 

lg

lim 

lim

liminf liminf limsup limsup

ln

ln

log log
max max

min

min

sec 

sec

sin 

sin

sinh sinh sup sup

tan 

tan

tanh 

tanh





  • 二元运算和关系符号:

≎ 

Bumpeq

⋒ 

Cap

⋓ 

Cup

≑ 

Doteq

⨝ 

Join

Subset

Supset

Vdash

⊪ 

Vvdash

approx

≊ 

approxeq

ast

≍ 

asymp

϶

backepsilon

∽ 

backsim

⋍ 

backsimeq

⊼ 

barwedge

because

between

bigcirc

▽ bigtriangledown △ bigtriangleup ◀ blacktriangleleft ▶ blacktriangleright

⊥ 

bot

bowtie

boxdot

boxminus

⊞ 

boxplus

⊠ 

boxtimes

∙ 

bullet

bumpeq

cap

cdot

circ

≗ 

circeq

≔ 

coloneq

cong

∪ 

cup

curlyeqprec

⋟ 

curlyeqsucc

curlyvee

curlywedge

dag

dashv

ddag


⋄ diamond


÷ div

⋇ divideontimes ≐ doteq ≑ doteqdot ∔ dotplus
⌆ doublebarwedge


≖ eqcirc

≕ 

eqcolon

≂ 

eqsim

eqslantgtr

eqslantless


≡ equiv

fallingdotseq

frown

≥ 

geq

≧ 

geqq

geqslant

gg


⋙ ggg

gnapprox

gneqq

gnsim

gtrapprox

⋗ 

gtrdot

⋛ 

gtreqless

gtreqqless


≷ gtrless

gtrsim

in

intercal

⋋ leftthreetimes

leq

≦ leqq

⩽ 

leqslant

⪅ 

lessapprox

⋖ 

lessdot

lesseqgtr

⪋ 

lesseqqgtr

≶ 

lessgtr

lesssim

 

ll

⋘ 

lll

lnapprox

lneqq

lnsim

⋉ 

ltimes

∣ 

mid

⊧ 

models

∓ 

mp

⊯ 

nVDash

nVdash

napprox

ncong

ne

≠ 

neq

neq

≢ 

nequiv

≱ 

ngeq

ngtr

ni

nleq

≮ 

nless

∤ 

nmid

∉ 

notin

∦ 

nparallel

⊀ 

nprec

≁ 

nsim

⊄ 

nsubset

nsubseteq

⊁ 

nsucc

⊅ 

nsupset


⊉ nsupseteq

ntriangleleft

⋬ ntrianglelefteq ⋫ ntriangleright ⋭ ntrianglerighteq

 

nvDash

⊬ 

nvdash

odot

ominus

oplus

⊘ 

oslash

otimes

parallel

perp

⋔ 

pitchfork

± 

pm

≺ 

prec

⪷ precapprox

preccurlyeq

preceq

precnapprox

⋨ 

precnsim

≾ 

precsim

∝ 

propto

⋌ rightthreetimes

risingdotseq

⋊ 

rtimes

∼ 

sim

≃ 

simeq

slash

smile

sqcap

sqcup

sqsubset

⊏ 

sqsubset

⊑ 

sqsubseteq

⊐ 

sqsupset

⊐ 

sqsupset

⊒ 

sqsupseteq


⋆ star

subset

subseteq

⫅ 

subseteqq

⊊ 

subsetneq

⫋ 

subsetneqq

≻ 

succ

⪸ 

succapprox

≽ succcurlyeq

succeq

 

succnapprox

⋩ 

succnsim

≿ 

succsim

⊃ 

supset

⊇ 

supseteq

⫆ 

supseteqq

supsetneq

supsetneqq

therefore

×

times

⊤ 

top

◁ 

triangleleft

⊴ 

trianglelefteq

≜ 

triangleq

▷ triangleright ⊵ trianglerighteq


⊎ uplus

⊨ 

vDash

∝ 

varpropto

⊲ vartriangleleft ⊳ vartriangleright

⊢ 

vdash


∨ vee

veebar

wedge

≀ 

wr




  • 箭头符号:

⇓ Downarrow ⇐ Leftarrow ⇔ Leftrightarrow ⇚ Lleftarrow
⟸ Longleftarrow ⟺ Longleftrightarrow ⟹ Longrightarrow ↰ Lsh
⇗ Nearrow ⇖ Nwarrow ⇒ Rightarrow ⇛ Rrightarrow
↱ Rsh ⇘ Searrow ⇙ Swarrow ⇑ Uparrow
⇕ Updownarrow ↺ circlearrowleft ↻ circlearrowright ↶ curvearrowleft
↷ curvearrowright ⤎ dashleftarrow ⤏ dashrightarrow ↓ downarrow
⇊ downdownarrows ⇃ downharpoonleft ⇂ downharpoonright ↩ hookleftarrow
↪ hookrightarrow ⇝ leadsto ← leftarrow ↢ leftarrowtail
↽ leftharpoondown ↼ leftharpoonup ⇇ leftleftarrows ↔ leftrightarrow
⇆ leftrightarrows ⇋ leftrightharpoons ↭ leftrightsquigarrow ↜ leftsquigarrow
⟵ longleftarrow ⟷ longleftrightarrow ⟼ longmapsto ⟶ longrightarrow
↫ looparrowleft ↬ looparrowright ↦ mapsto ⊸ multimap
⇍ nLeftarrow ⇎ nLeftrightarrow ⇏ nRightarrow ↗ nearrow
↚ nleftarrow ↮ nleftrightarrow ↛ nrightarrow ↖ nwarrow
→ rightarrow ↣ rightarrowtail ⇁ rightharpoondown ⇀ rightharpoonup
⇄ rightleftarrows ⇄ rightleftarrows ⇌ rightleftharpoons ⇌ rightleftharpoons
⇉ rightrightarrows ⇉ rightrightarrows ↝ rightsquigarrow ↘ searrow
↙ swarrow → to ↞ twoheadleftarrow ↠ twoheadrightarrow
↑ uparrow ↕ updownarrow ↕ updownarrow ↿ upharpoonleft
↾ upharpoonright ⇈ upuparrows

  • 其他符号:

$

Å 

AA

Ⅎ 

Finv

⅁ 

Game

ℑ 

Im

P

Re

§

S

∠ 

angle

‵ 

backprime

★ 

bigstar

■ 

blacksquare

▴ blacktriangle ▾ blacktriangledown

cdots

checkmark

® 

circledR

Ⓢ 

circledS

clubsuit

∁ 

complement

© 

copyright

ddots

diamondsuit

ell

∅ 

emptyset

ð 

eth

∃ 

exists

♭ 

flat

∀ 

forall


ħ hbar

heartsuit


ℏ hslash

iiint

∬ 

iint

ı 

imath

∞ 

infty

ȷ 

jmath

ldots

∡ measuredangle

natural

¬ 

neg

∄ 

nexists

∰ 

oiiint

∂ 

partial

′ 

prime

sharp

spadesuit

∢ sphericalangle

ß 

ss

▿ 

triangledown

∅ 

varnothing

vartriangle

⋮ 

vdots

℘ 

wp

¥

yen



  • 口音字符

有些语系有口音字符,重音命令可以在任何符号之前添加重音其指令格式如下:

撰写方式 显示效果
acute a 或者 'a
bar a
breve a
ddot a 或者 ''a
dot a 或者 .a
grave a 或者 `a
hat a 或者 ^a
tilde a 或者 ~a
vec a
overline{abc}
此外,还有两种特殊的重音符号可自动调整为以下符号的宽度:
撰写方式 显示效果
widehat{xyz}
widetilde{xyz}


更多内容可以前往官网查看

https://matplotlib.org/stable/


本篇文章来源于微信公众号: 码农设计师

RELATED ARTICLES

欢迎留下您的宝贵建议

Please enter your comment!
Please enter your name here

- Advertisment -

Most Popular

Recent Comments