コード例 #1
0
ファイル: DataPlot.cs プロジェクト: mortenbakkedal/SharpMath
 public DataPlot(IEnumerable<IPlotPoint> points, params IDataPlotStyle[] styles)
 {
     Points = new ImmutableList<IPlotPoint>(points);
     Properties = new PlotProperties(styles);
 }
コード例 #2
0
 public FunctionPlot(IPlotFunction function, IEnumerable<FunctionPlotSegment> segments, params IFunctionPlotStyle[] styles)
 {
     Function = function;
     Segments = new ImmutableList<FunctionPlotSegment>(segments);
     Properties = new PlotProperties(styles);
 }