在gnuplot中创建麦克风极性图案图 [英] Creating a microphone polar pattern plot in gnuplot

查看:103
本文介绍了在gnuplot中创建麦克风极性图案图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个麦克风极性图案图,其缩放比例从-20(在中心)到+5(以5为步长).我发现了类似的代码,但是没有任何东西可以使比例为负.
然后需要将多个模式添加到图中,以覆盖几个不同的频率,我具有度值(0-360)和对应的dB值(-25 - +5).

I would like to create a microphone polar pattern plot that has a scale of -20 (in the center) out to +5 in steps of 5. I have found similar code but nothing that allows for the scales to be negative.
Multiple patterns will then need to added to the plot covering a few different frequencies, I have degree values (0-360) and corresponding dB values (-25 - +5).

这是情节的样子(尽管比例略有不同):

This is what the plot should look like (though with slightly different scales):

我在这里找到最接近的gnuplot:如何使用gnu图获得径向(极坐标)图?

The closest gnuplot I have found to this is here: How to get a radial(polar) plot using gnu plot?

也许可以对其进行修改以满足我的需要?

Perhaps this could be modified to suit my needs?

我还希望在图的顶部而不是在右侧找到0度.

I would also like 0 degrees to be found at the top of the plot rather than on the right.

我对使用gnuplot并不陌生,因此我对它的代码不是特别熟悉,因此,很难成功地修改代码(到目前为止).

I am new to using gnuplot so I am not particularly familiar with its code, therefore it has been difficult for me to modify the code with any great success (so far anyway).

推荐答案

不幸的是,克里斯托夫的答案是错误的.

Unfortunately Christoph's answer is wrong.

您可以看到,如果检查绘图曲线与5db圆的交叉点.

You can see that if you check where the plot curve crosses the 5db circle.

应该绘制的是

20*log10(A+B*cos(t)) 

其中A+B = 1A - B确定(标称)方向性模式.

where A+B = 1 and A - B determines the (nominal) directivity pattern.

第一个图似乎是A=B=0.5的一个心形图案.

The first diagram seems to be for A=B=0.5 which makes for a cardioid pattern.

这篇关于在gnuplot中创建麦克风极性图案图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆