paper 实验效果图(论文中插图中字体大小还没有解决,查看一下期刊需要的格式)



import numpy as np
import matplotlib.pyplot as plt
#从pyplot导入MultipleLocator类,这个类用于设置刻度间隔
from matplotlib.pyplot import MultipleLocator

# No Offl.
# x1 = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0]
y1 = [0.08, 0.25, 0.5, 0.7, 0.85, 0.9, 0.92, 0.93, 0.95, 0.97]
# R. Offl.
# x2 = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0]
y2 = [0, 0.05, 0.2, 0.44, 0.65, 0.8, 0.9, 0.92, 0.94, 0.96]
# PGOA
# x3 = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0]
y3 = [0, 0.05, 0.2, 0.42, 0.61, 0.75, 0.81, 0.89, 0.9, 0.92]
# ULOOF
# x4 = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0]
y4 = [0, 0.05, 0.18, 0.38, 0.5, 0.61, 0.7, 0.75, 0.79, 0.82]
# DRL
# x5 = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0]
y5 = [0, 0, 0.05, 0.08, 0.18, 0.32, 0.5, 0.63, 0.75, 0.8]


x=np.arange(0.1, 1.1, 0.1)
# print(x)
l1 = plt.plot(x, y1, label='No Offl', color='steelblue', marker='o', markerfacecolo

猜你喜欢

转载自blog.csdn.net/gz153016/article/details/114490184