gpt4 book ai didi

Python Pyx 绘图 : Using\mathbb in axes label of plot

转载 作者:太空宇宙 更新时间:2023-11-03 14:22:06 25 4
gpt4 key购买 nike

我正在 PyX 中绘制图。

获取(LaTex语言)

\mathrm{a}

你使用

\rm{a}

(PyX 语言)。

我想要(LaTex 语言)

\mathbb{a}.

如何用 PyX 语言做到这一点?尝试

\bb{a}

给出错误消息。

最佳答案

您需要通过以下方式启用 LaTeX

text.set(text.LatexRunner)

默认情况下 PyX 使用纯 TeX。

关于Python Pyx 绘图 : Using\mathbb in axes label of plot,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47872899/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com