-
在使用python画sci图需要加载
pip install SciencePlots;
visio工具保存的jpg格式文件可以直接进行转换 -
添加对应的风格
import matplotlib.pyplot as plt
with plt.style.context([‘science’,‘no-latex’]): -
参考网址
https://cloud.tencent.com/developer/article/1709954 -
可以直接完成转换的网站
https://cn.office-converter.com/JPG-to-EPS-Converter
https://cdkm.com/cn/format -
在latex中加载 eps 文件
5.1 添加宏包
\usepackage{graphicx} %use graph format
\usepackage{epstopdf}
5.2 将.eps图片和.tex文件放在一个路径下,使用以下代码:
\begin{figure}
\centering
\includegraphics[height=2cm,width=3cm]{exp.eps}
\caption{yes}
\label{1}
\end{figure} -
转换eps
https://cdkm.com/cn/jpg-to-eps#:~:text=1%EF%BC%9A%E9%80%89%E6%8B%A9%E5%A4%9A%E4%B8%AA%E6%9C%AC%E5%9C%B0JPG%E6%96%87%E4%BB%B6%E6%88%96%E8%BE%93%E5%85%A5%E5%9C%A8%E7%BA%BFJPG%E6%96%87%E4%BB%B6%E7%9A%84URL%E3%80%82,2%EF%BC%9A%E9%80%89%E6%8B%A9EPS%E4%BD%9C%E4%B8%BA%E7%9B%AE%E6%A0%87%E6%A0%BC%E5%BC%8F%E5%B9%B6%E8%AE%BE%E7%BD%AE%E8%BD%AC%E6%8D%A2%E9%80%89%E9%A1%B9%EF%BC%88%E5%8F%AF%E9%80%89%EF%BC%89%E3%80%82%203%EF%BC%9A%E7%82%B9%E5%87%BB%E2%80%9C%E5%BC%80%E5%A7%8B%E8%BD%AC%E6%8D%A2%E2%80%9D%E6%8C%89%E9%92%AE%E5%B0%86JPG%E6%96%87%E4%BB%B6%E6%89%B9%E9%87%8F%E5%9C%A8%E7%BA%BF%E8%BD%AC%E6%8D%A2%E4%B8%BAEPS%E6%96%87%E4%BB%B6%E3%80%82
使用python画sci风格的图
最新推荐文章于 2024-04-02 09:33:37 发布