public static void AutoAxisAnyUnsetAxes(Plot plot) { if (!plot.XAxis.HasBeenSet || !plot.YAxis.HasBeenSet) { plot.AutoScale(); } }