本程序介绍
需要调用的拓展包"matplotlib"和"os"
在Python程序中利用Matplotlib显示Latex数学公式
利用os读取当前工作目录,并将图片保存在当前目录
'''
参考网址:
https://blog.csdn.net/qq_39231231/article/details/104211498 #如何设置保存路径
https://www.zhihu.com/question/25404709 #显示中文
https://www.zhihu.com/question/306139636 #如何自动关闭图片
https://blog.csdn.net/qq_43679627/article/details/86740739 #关闭坐标轴的显示
https://blog.csdn.net/MAILLIBIN/article/details/89609364 #如何显示Latex公式
'''
import matplotlib.pyplot as plt
import os
#-------------------显示中文
#coding:utf-8
plt.r