Classes derived from this abstract base class define and can apply some form of constraint to the positioning and length of one or more of the four axes of a PlotSurface2D.
示例#1
0
 /// <summary>
 /// Add an axis constraint to the plot surface. Axes constraints give you 
 /// control over where NPlot positions each axes, and the world - pixel
 /// ratio.
 /// </summary>
 /// <param name="constraint">The axis constraint to add.</param>
 public void AddAxesConstraint( AxesConstraint constraint )
 {
     this.axesConstraints_.Add( constraint );
 }
 /// <summary>
 /// Add an axis constraint to the plot surface. Axis constraints can
 /// specify relative world-pixel scalings, absolute axis positions etc.
 /// </summary>
 /// <param name="c">The axis constraint to add.</param>
 public void AddAxesConstraint( AxesConstraint c )
 {
     ps_.AddAxesConstraint( c );
 }
 /// <summary>
 /// Add an axis constraint to the plot surface. Axes constraints give you 
 /// control over where NPlot positions each axes, and the world - pixel
 /// ratio.
 /// </summary>
 /// <param name="constraint">The axis constraint to add.</param>
 public void AddAxesConstraint(AxesConstraint constraint)
 {
     m_axesConstraints.Add(constraint);
 }
示例#4
0
 /// <summary>
 /// Remove an axis constraint from the plot surface
 /// </summary>
 /// <param name="constraint">The constraint to remove.</param>
 public void RemoveAxesConstraint( AxesConstraint constraint )
 {
     this.axesConstraints_.Remove( constraint );
 }
示例#5
0
 /// <summary>
 /// Add an axis constraint to the plot surface. Axes constraints give you
 /// control over where NPlot positions each axes, and the world - pixel
 /// ratio.
 /// </summary>
 /// <param name="constraint">The axis constraint to add.</param>
 public void AddAxesConstraint(AxesConstraint constraint)
 {
     axesConstraints_.Add(constraint);
 }
 /// <summary>
 /// Remove an axis constraint from the plot surface
 /// </summary>
 /// <param name="constraint">The constraint to remove.</param>
 public void RemoveAxesConstraint(AxesConstraint c)
 {
     ps_.RemoveAxesConstraint( c );
 }
示例#7
0
 /// <summary>
 /// Add an axis constraint to the plot surface. Axes constraints give you
 /// control over where NPlot positions each axes, and the world - pixel
 /// ratio.
 /// </summary>
 /// <param name="constraint">The axis constraint to add.</param>
 public void AddAxesConstraint(AxesConstraint constraint)
 {
     m_axesConstraints.Add(constraint);
 }