/// <summary> /// Zooms the specified axis to the specified values. /// </summary> /// <param name="axis"> /// The axis. /// </param> /// <param name="p1"> /// The new minimum value. /// </param> /// <param name="p2"> /// The new maximum value. /// </param> public void Zoom(Axis axis, double p1, double p2) { axis.Zoom(p1, p2); this.RefreshPlot(false); }
/// <summary> /// The zoom. /// </summary> /// <param name="axis"> /// The axis. /// </param> /// <param name="p1"> /// The p 1. /// </param> /// <param name="p2"> /// The p 2. /// </param> public void Zoom(Axis axis, double p1, double p2) { axis.Zoom(p1, p2); this.InvalidatePlot(false); }