IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Extension methods to help with plotting and access the plotting sinks. More...
Static Public Member Functions | |
static IPlotSink | GetPlotSink (string sinkName) |
Gets a plot sink. If the plot exists or can be created the plot is opened. More... | |
static IPlotSink | GetPlotSink (string sinkName, bool suppressOpen) |
Gets a plot sink. More... | |
static void | Plot (this Series series, string sinkName=null) |
Plots the specified series. More... | |
static void | Plot (this Chart chart, string sinkName=null) |
Plots the specified chart. More... | |
static void | Plot (this IEnumerable ys, string seriesName=null, string chartType="Line", string sinkName=null) |
Plots the specified Y values. More... | |
static void | Plot (this IEnumerable ys, IEnumerable xs, string seriesName=null, string chartType="Line", string sinkName=null) |
Plots the specified Y values at the corresponding X points. More... | |
static void | PlotFunction (this Func< double, double > f, string seriesName=null, string chartType="Line", double from=-3.0, double to=3.0, int points=100, string sinkName=null) |
Plots a function that produces Y values. More... | |
static void | PlotHistogram (this IEnumerable ys, string seriesName=null, string histogramName=null, string sinkName=null) |
Plots the Y values as a histogram. More... | |
static IPlotSink | GetPlotSink (string sinkName) |
Gets a plot sink. If the plot exists or can be created the plot is opened. More... | |
static IPlotSink | GetPlotSink (string sinkName, bool suppressOpen) |
Gets a plot sink. More... | |
static void | Plot (this Series series, string sinkName=null) |
Plots the specified series. More... | |
static void | Plot (this Chart chart, string sinkName=null) |
Plots the specified chart. More... | |
static void | Plot (this IEnumerable ys, string seriesName=null, string chartType="Line", string sinkName=null) |
Plots the specified Y values. More... | |
static void | Plot (this IEnumerable ys, IEnumerable xs, string seriesName=null, string chartType="Line", string sinkName=null) |
Plots the specified Y values at the corresponding X points. More... | |
static void | PlotFunction (this Func< double, double > f, string seriesName=null, string chartType="Line", double from=-3.0, double to=3.0, int points=100, string sinkName=null) |
Plots a function that produces Y values. More... | |
static void | PlotHistogram (this IEnumerable ys, string seriesName=null, string histogramName=null, string sinkName=null) |
Plots the Y values as a histogram. More... | |
Properties | |
static string[] | PlotChartTypes [get] |
Gets the available plot chart types. More... | |
Extension methods to help with plotting and access the plotting sinks.
|
inlinestatic |
Gets a plot sink. If the plot exists or can be created the plot is opened.
sinkName | Name of the sink. |
|
inlinestatic |
Gets a plot sink.
sinkName | Name of the sink. |
suppressOpen | If set to true the plot is not opened. |
References CShell.Shell.GetSink(), and CShell.Constants.SinkPlot.
|
inlinestatic |
Plots the specified series.
series | The series. |
sinkName | Name of the sink. |
|
inlinestatic |
Plots the specified chart.
chart | The chart. |
sinkName | Name of the sink. |
|
inlinestatic |
Plots the specified Y values.
ys | The Y values. |
seriesName | Name of the series. |
chartType | The chart type to be used for the points, see the PlotChartTypes property for all available types. |
sinkName | Name of the sink. |
|
inlinestatic |
Plots the specified Y values at the corresponding X points.
ys | The Y values. |
xs | The X values. |
seriesName | Name of the series. |
chartType | The chart type to be used for the points, see the PlotChartTypes property for all available types. |
sinkName | Name of the sink. |
|
inlinestatic |
Plots a function that produces Y values.
f | The function to plot. |
seriesName | Name of the resulting series. |
chartType | The chart type to be used for the points, see the PlotChartTypes property for all available types. |
from | At what X value to start the plot. |
to | At what X value to end the plot. |
points | How many points to plot between start and end. |
sinkName | Name of the sink. |
|
inlinestatic |
Plots the Y values as a histogram.
ys | The Y values to plot. |
seriesName | Name of the series. |
histogramName | Name of the resulting histogram. |
sinkName | Name of the sink. |
|
inlinestatic |
Gets a plot sink. If the plot exists or can be created the plot is opened.
sinkName | Name of the sink. |
|
inlinestatic |
Gets a plot sink.
sinkName | Name of the sink. |
suppressOpen | If set to true the plot is not opened. |
References CShell.Shell.GetSink(), and CShell.Constants.SinkPlot.
|
inlinestatic |
Plots the specified series.
series | The series. |
sinkName | Name of the sink. |
|
inlinestatic |
Plots the specified chart.
chart | The chart. |
sinkName | Name of the sink. |
|
inlinestatic |
Plots the specified Y values.
ys | The Y values. |
seriesName | Name of the series. |
chartType | The chart type to be used for the points, see the PlotChartTypes property for all available types. |
sinkName | Name of the sink. |
|
inlinestatic |
Plots the specified Y values at the corresponding X points.
ys | The Y values. |
xs | The X values. |
seriesName | Name of the series. |
chartType | The chart type to be used for the points, see the PlotChartTypes property for all available types. |
sinkName | Name of the sink. |
|
inlinestatic |
Plots a function that produces Y values.
f | The function to plot. |
seriesName | Name of the resulting series. |
chartType | The chart type to be used for the points, see the PlotChartTypes property for all available types. |
from | At what X value to start the plot. |
to | At what X value to end the plot. |
points | How many points to plot between start and end. |
sinkName | Name of the sink. |
|
inlinestatic |
Plots the Y values as a histogram.
ys | The Y values to plot. |
seriesName | Name of the series. |
histogramName | Name of the resulting histogram. |
sinkName | Name of the sink. |
|
staticget |
Gets the available plot chart types.