python绘图工具分享(Science,IEEE)

在这里插入图片描述
在这里插入图片描述

1. 安装绘图工具包

pip install git+https://github.com/garrettj403/SciencePlots.git

2. 使用工具包

import matplotlib.pyplot as plt
plt.style.use(['science','ieee'])
plt.style.use(['science','no-latex']) #没有latex使用该语句

暂时使用某种样式

with plt.style.context('science'):
    plt.figure()
    plt.plot(x, y)
    plt.show()

3. 样式列表

i. 样式

science
science + scatter
science + notebook
science + ieee
science + nature

ii. 语言

Traditional Chinese (science + no-latex + cjk-tc-font)
Simplified Chinese (science + no-latex + cjk-sc-font)
Japanese (science + no-latex + cjk-jp-font)
Korean (science + no-latex + cjk-kr-font)
Russian/cyrillic (science + russian-font)

iii. 色彩

bright
vibrant
muted
high-contrast
light
std-colors
high-vis
retro

[1] ieee期刊_论文绘图神器来了:一行代码绘制不同期刊格式图表,哈佛博士后开源…
[2] SciencePlots
[3] Basic Styles

  • 3
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值