spectrochempy.PCA.plotmerit

PCA.plotmerit(n_pc=None, **kwargs)[source]

Plots the input dataset, reconstructed dataset and residuals.

Parameters

**kwargs – optional “colors” argument: tuple or array of 3 colors for \(X\), \(\hat X\) and \(E\).

Returns

ax – subplot.