如何用下标粗体制作tick标签?
我有以下带有标签的字典,我想在其中绘制K1/2作为下标1/2的k。
labels = {'label': 'Label1', 'Label2', '$K_{1/2}$'}
然后,我想以粗体和大小为22的XTICK绘制Xtick,但是,K1/2并不以螺栓为单位绘制。我该如何解决?
plt.xticks(fontweight = 'bold', fontsize = 22)
I have the following dictionary with labels, where I'd like to plot K1/2 as K with subscript 1/2.
labels = {'label': 'Label1', 'Label2', '$K_{1/2}
I then want to plot the xticks in bold and size 22, however, K1/2 is not plotted in bolt as only label. How can I fix this?
plt.xticks(fontweight = 'bold', fontsize = 22)
}
I then want to plot the xticks in bold and size 22, however, K1/2 is not plotted in bolt as only label. How can I fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这对我有用!
This worked for me!