極座標スポークラベルのパディング
極座標スポーク上のラベルのパディングを変更します。
ScottPlot.Plot myPlot = new();
var polarAxis = myPlot.Add.PolarAxis();
polarAxis.SetSpokes(4, 1);
for (int i = 0; i < polarAxis.Spokes.Count; i++)
{
polarAxis.Spokes[i].LineWidth = 4;
polarAxis.Spokes[i].LabelStyle.FontSize = 16;
polarAxis.Spokes[i].LabelPaddingFraction = 0.2 * i;
polarAxis.Spokes[i].LabelText = $"{polarAxis.Spokes[i].LabelLength}";
}
myPlot.SavePng("demo.png", 400, 300);
このレシピは、極座標軸カテゴリに含まれる多数のレシピの 1 つです
