Table of Contents

Class FunctionSource

Namespace
ScottPlot.DataSources
Assembly
ScottPlot.dll
public class FunctionSource : IFunctionSource
Inheritance
FunctionSource
Implements
Inherited Members
Extension Methods

Constructors

FunctionSource(Func<double, double>)

public FunctionSource(Func<double, double> func)

Parameters

func Func<double, double>

Properties

Function

public Func<double, double> Function { get; set; }

Property Value

Func<double, double>

GetRangeYFunc

public Func<CoordinateRange, CoordinateRange>? GetRangeYFunc { get; set; }

Property Value

Func<CoordinateRange, CoordinateRange>

RangeX

public CoordinateRange RangeX { get; set; }

Property Value

CoordinateRange

Methods

Get(double)

public double Get(double x)

Parameters

x double

Returns

double

GetRangeY(CoordinateRange)

public CoordinateRange GetRangeY(CoordinateRange xs)

Parameters

xs CoordinateRange

Returns

CoordinateRange