在mathematica中绘制多规则函数

asd*_*asd 3 plot wolfram-mathematica

如何在Mathematica中编写与此类似的函数(复杂轮廓)的代码: 在此输入图像描述

Fel*_*xCQ 5

我不确定c是什么,但我认为它是0到1之间的数字,意思是进入直线的高度.那么也许这样的话可以满足你的需求呢?

c = 0.7;
t0 = ArcSin[c];
PolarPlot[If[Abs[t] < t0, Abs[Sin[t0]/Sin[t]], 1], {t, -\[Pi], \[Pi]}]
Run Code Online (Sandbox Code Playgroud)

  • 箭头和标签也可以使用下面的Epilog添加... Epilog - > {Arrow [{{2,c},{1,c}}],箭头[{{1,-c},{2, -c}}],箭头[{{ - 1,.1},{-1,-.1}}],文字["C",{1.5,c + .1}],文字["C", {1.5, - (c + .1)}]} (2认同)