Plot2d
plot Plot function for Mat data
Member of Plot
-
Creates Plot2d object
Declaration
Parameters
dataX
1xNorNx1matrixXvalues of points to plot.dataY
1xNorNx1matrix containingYvalues of points to plot. -
Declaration
Objective-C
- (void)setGridLinesNumber:(int)gridLinesNumber NS_SWIFT_NAME(setGridLinesNumber(gridLinesNumber:));
Swift
func setGridLinesNumber(gridLinesNumber: Int32)
-
Declaration
Objective-C
- (void)setInvertOrientation:(BOOL)_invertOrientation NS_SWIFT_NAME(setInvertOrientation(_invertOrientation:));
Swift
func setInvertOrientation(_invertOrientation: Bool)
-
Declaration
Objective-C
- (void)setMaxX:(double)_plotMaxX NS_SWIFT_NAME(setMaxX(_plotMaxX:));
Swift
func setMaxX(_plotMaxX: Double)
-
Declaration
Objective-C
- (void)setMaxY:(double)_plotMaxY NS_SWIFT_NAME(setMaxY(_plotMaxY:));
Swift
func setMaxY(_plotMaxY: Double)
-
Declaration
Objective-C
- (void)setMinX:(double)_plotMinX NS_SWIFT_NAME(setMinX(_plotMinX:));
Swift
func setMinX(_plotMinX: Double)
-
Declaration
Objective-C
- (void)setMinY:(double)_plotMinY NS_SWIFT_NAME(setMinY(_plotMinY:));
Swift
func setMinY(_plotMinY: Double)
-
Switches data visualization mode
Declaration
Objective-C
- (void)setNeedPlotLine:(BOOL)_needPlotLine;
Swift
func setNeedPlotLine(_needPlotLine: Bool)
Parameters
_needPlotLine
if true then neighbour plot points will be connected by lines. In other case data will be plotted as a set of standalone points.
-
Declaration
Objective-C
- (void)setPlotLineWidth:(int)_plotLineWidth NS_SWIFT_NAME(setPlotLineWidth(_plotLineWidth:));
Swift
func setPlotLineWidth(_plotLineWidth: Int32)
-
Declaration
Objective-C
- (void)setPlotSize:(int)_plotSizeWidth _plotSizeHeight:(int)_plotSizeHeight NS_SWIFT_NAME(setPlotSize(_plotSizeWidth:_plotSizeHeight:));
Swift
func setPlotSize(_plotSizeWidth: Int32, _plotSizeHeight: Int32)
-
Sets the index of a point which coordinates will be printed on the top left corner of the plot (if ShowText flag is true).
Declaration
Objective-C
- (void)setPointIdxToPrint:(int)pointIdx;
Swift
func setPointIdxToPrint(pointIdx: Int32)
Parameters
pointIdx
index of the required point in data array.
-
Declaration
Objective-C
- (void)setShowGrid:(BOOL)needShowGrid NS_SWIFT_NAME(setShowGrid(needShowGrid:));
Swift
func setShowGrid(needShowGrid: Bool)
-
Declaration
Objective-C
- (void)setShowText:(BOOL)needShowText NS_SWIFT_NAME(setShowText(needShowText:));
Swift
func setShowText(needShowText: Bool)