[mmGplot] [Up] [mmGetpixel] Visualization

mmPlot
Shows a plot.

Synopsis

void mmPlot ( const Image& y , const Image& x = NullImage, const Double& column = 0, const String& title = "", const String& style = "lines", const String& xlabel = "x", const String& ylabel = "y", const String& cmds = "" );

Input

y Image

Y axis values.

x Image

X axis values.

Default: NullImage

column Double

The data to plot is held in the (0) lines or (1) columns of the images x and y.

Default: 0

title String

Plot title.

Default: ""

style String

Plot style.

Default: "lines"

xlabel String

Plot x axis label.

Default: "x"

ylabel String

Plot y axis label.

Default: "y"

cmds String

GNUplot commands.

Default: ""

Description

mmPlot plots a 2D function y=f(x) with the help of the Gnuplot package and shows the plot using the OpenCV viewer.

[mmGplot] [Up] [mmGetpixel]