示例#1
0
 /// <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);
 }
示例#2
0
 /// <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);
 }