如何制作方轴(等长轴)的热图? 当我使用以下内容时,我得到一个方形图像,但x轴跨度为(-1.8,1.8)而不是(-1,1)
PlotModel = new PlotModel { Title = "Heatmap Example" };
PlotModel.PlotType = PlotType.Cartesian;
PlotModel.Axes.Add(new LinearAxis { Position = AxisPosition.Bottom, Minimum = -1, Maximum = 1, Title = "U", MajorStep = 0.2 });
PlotModel.Axes.Add(new LinearAxis { Position = AxisPosition.Left, Minimum = -1, Maximum = 1, Title = "V", MajorStep = 0.2 });
当我设置AbsoluteMinimum和AbsoluteMaximum时,图像会拉伸纵横比。