Main Content

plotOneSignalToFile

Class: sltest.testmanager.TestResultReport
Namespace: sltest.testmanager

Save signal plot to file

Syntax

plotOneSignalToFile(obj,filePath,onesig,isComparison)

Description

plotOneSignalToFile(obj,filePath,onesig,isComparison) saves a signal plot to a PNG image file. If the signal plot is a comparison, then the baseline signal, the difference, and the tolerance are plotted in the same plot.

Input Arguments

expand all

Test report, specified as a sltest.testmanager.TestResultReport object.

File path and name of the image you want to save, specified as a character vector.

The result signal, specified as a sltest.testmanager.ReportUtility.Signal object.

Flag to indicate whether the signal is from a comparison run or not, specified as a Boolean, true or false.

Version History

Introduced in R2016a