[mmShow] [Up] [mmPlot] Visualization

mmGplot
Return an image of the plot.

Synopsis

Image mmGplot ( 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: ""

Output

img Image

Plot image.

Description

mmGplot plots a 2D function y=f(x) with the help of the Gnuplot package and returns the corresponding image.

[mmShow] [Up] [mmPlot]