打印图形或保存为特定的文件格式... print(filename,formattype)使用指定的文件格式将当前图形保存到文件中,例如print('BarPlot','-dpng') 。如果文件名不包含扩展名,则打印将附加适当的扩展名。 print(filename,formattype,formatoptions)指定可用于某些格式的其他选项。 print将当前图形打印到默认打印机...