VR | 论文部分实现

在这里插入图片描述

# -*- coding: utf-8 -*-
from matplotlib import pyplot
import matplotlib.pyplot as plt

names = ['63',' ',' ','125',' ',' ','250',' ',' ','500',' ',' ','1k',' ',' ','2k',' ',' ','4k']
x = range(19)
y_40 = [45,44,40,37,30,35,31,32,31,28,27,29,30,30,29,28,28,28,29]
y_45 = [41,51,45,39,33,39,38,35,35,39,38,38,39,37,35,31,28,27,28]
y_50 = [46,51,45,44,40,45,45,45,42,43,44,44,44,42,40,38,33,31,30]
y_55 = [56,57,46,45,47,51,50,53,52,46,47,47,46.5,45.5,44,41,38,33,30]
y_60 = [55,57,47,46,49,53,52,53,51,50,52,53.5,55,53,51,45,41,35,33]
y_65 = [60,62,52,51,54,57,56,57,55,54,56,58.5,60,57,54,51.5,45.5,40,39]

plt.plot(x, y_40, ':', marker='o', ms=6,label='40')
plt.plot(x, y_45, '--', marker='+', ms=6,label='45')
plt.plot(x, y_50, '--', marker='x', ms=6,label='50')
plt.plot(x, y_55, '-.', marker='^', ms=6,label='55')
plt.plot(x, y_60, '--', marker='d', ms=6,label='60')
plt.plot(x, y_65, marker='s', ms=6,label='65')
plt.legend()

plt.margins(0.03)
plt.subplots_adjust(bottom=0.10)
plt.xlabel("Frequency [Hz]")
plt.ylabel("A-weighted sound pressure level [dB]") 
plt.title("Fig. 1. Frequency characteristics of road traffic noise \naccording to window opening ratio.")
plt.xticks(x, names, rotation=1)
pyplot.yticks([0,10,20,30,40,50,60,70])
plt.show()
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值