対数 y スケールのステム プロットで 1024 の値を視覚化したいと思います。線形スケールでは問題なく動作しますが、対数スケールではグラフが奇妙に見えます。コードまたは oxyplot にバグはありますか?
私のステム プロットは次のように なります。
これは私のソースコードです:
var plotModel = new PlotModel { Title = "Stem Plot" };
plotModel.Axes.Clear();
if (yScalingType==(int)YScalingType.log)
{
LogarithmicAxis axisY = new LogarithmicAxis
{
Position = AxisPosition.Left,
MajorStep = 20,
UseSuperExponentialFormat = false,
Base = 10
};
axisY.AbsoluteMaximum = 1000;
axisY.AbsoluteMinimum = 0;
plotModel.Axes.Add(axisY);
}
var series = new StemSeries();
plotModel.Series.Add(series);
for (int i = 0; i < 1024; i++)
series.Points.Add(new DataPoint(i, 100.0));