我如何从 python 中“调用”gnuplot? 我想将以下 python 字符串作为输入发送到 gnuplot: "plot '%s' with lines, '%s' with points;" % (eout,nout) 其中“ eout ”和“ nout ”是两个文件名。 PS:我不 喜欢 使用额外的 python 模块(例如 gnuplot-py),只使用标准 API。 谢谢你 原文由 Andrei Cio...