NPlot.ImagePlot.SuggestYAxis C# (CSharp) Метод

SuggestYAxis() публичный Метод

Returns a y-axis that is suitable for drawing this plot.
public SuggestYAxis ( ) : Axis
Результат Axis
        public Axis SuggestYAxis()
        {
            if (this.center_)
            {
                return new LinearAxis( this.yStart_ - this.yStep_/2.0, this.yStart_ + this.yStep_ * data_.GetLength(0) - this.yStep_/2.0 );
            }

            return new LinearAxis( this.yStart_, this.yStart_ + this.yStep_ * data_.GetLength(0) );
        }