6
Matplotlib-如何绘制高分辨率图?
我已经使用matplotlib绘制了一些实验结果(在这里进行了讨论:循环遍历文件并作图。但是,通过单击图像右侧来保存图片会产生非常差的质量/低分辨率图像。 from glob import glob import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl # loop over all files in the current directory ending with .txt for fname in glob("./*.txt"): # read file, skip header (1 line) and unpack into 3 variables WL, ABS, T = np.genfromtxt(fname, …
81
python
matplotlib