我并没有找到可以通过直接修改 BarLegend 的来实现去掉刻度的方法。下面是使用 Epilog 和 Inset 插入 Graphics 来近似实现的。
如果你使用的是 12.3版本,可以再加一个 AxisObject 来自定义刻度尺。
另外,我猜啊,圆环的着色可能并不是你想要的着色(目前这个只是对 x 轴着色,相当于 ColorFunction -> Function[{x, y, u, v}, ColorData["LightTemperatureMap"][x]],其它的3个参数yuv都没有用到,其中xy是位置参数,uv是计算xy的输入参数 )
ClearAll["`*"]
barLegend = {
Inset[Style["\[CapitalDelta](\[Theta])", Black, FontSize -> 24,
FontFamily -> "Times New Roman"], {2.6, 1.8}],
Rotate[
Inset[ColorData["LightTemperatureMap",
"Image"] /. {(Rule[AspectRatio, Rational[1, 8]]) -> (Rule[
AspectRatio, Rational[1, 18]])}, {2.6, 0}, Automatic, 3],
Pi/2]
};
m1 = ParametricPlot[{v Cos[u], v Sin[u]}, {u, 0, 2 Pi}, {v, 1.5, 1.7},
Mesh -> None, Frame -> False,
ColorFunction -> "LightTemperatureMap", BoundaryStyle -> None,
Axes -> False, Background -> White, Epilog -> barLegend];
axes = Graphics[{Arrow[{{{0, 0}, {0, 2}}, {{0, 0}, {2, 0}}}], {Dashed,
Arrow[{{0, 0}, {Sqrt[2], Sqrt[2]}}]},
Text[Style["\[Theta]", FontFamily -> "Times New Roman", 24], {0.8,
0.4}], Text[
Style["\!\(\*SubscriptBox[\(k\), \(x\)]\)",
FontFamily -> "Times New Roman", 24], {2.3, 0}],
Text[Style["\!\(\*SubscriptBox[\(k\), \(y\)]\)",
FontFamily -> "Times New Roman", 24], {0, 2.3}],
Text[Style["\!\(\*FractionBox[\(\[Pi]\), \(2\)]\)",
FontFamily -> "Times New Roman", 24], {-0.3, 1.4}],
Text[Style["-\!\(\*FractionBox[\(\[Pi]\), \(2\)]\)",
FontFamily -> "Times New Roman", 24], {-0., -1.2}]}];
ang = ParametricPlot[0.6 {Sin[x], Cos[x]}, {x, Pi/4, Pi/2},
PlotStyle -> Directive[Dashed, Thickness[0.008], Red]];
Show[m1, axes, ang, PlotRange -> {{-2, 5}, Automatic}]