Click or drag to resize

SpectroscopyCommandsCreateGraphWithPreprocessedSpectrum Method

Creates the graph with a scatter plot of the preprocessed spectrum. More plots can be added.

Namespace: Altaxo.Science.Spectroscopy
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static (GraphDocument graph, PlotItemCollection group) CreateGraphWithPreprocessedSpectrum(
	DataTable peakTable,
	int numberOfSpectrum,
	string graphName,
	bool useLinePlot,
	bool doOpenGraph
)

Parameters

peakTable  DataTable
The peak table.
numberOfSpectrum  Int32
The number of the spectrum.
graphName  String
Name of the graph (full name).
useLinePlot  Boolean
If true, the preprocessed curve is shown as a line plot instead of a scatter plot.
doOpenGraph  Boolean
If true, the created graph is opened (the graph window is shown in Altaxo).

Return Value

ValueTupleGraphDocument, PlotItemCollection
The graph, and the plot item collection of the plot of the preprocessed spectrum.
See Also