[mmshow] [Up] [mmplot] Visualization

mmgplot
Returns an image with the plot of a function.

Synopsis

img = mmgplot ( plotitems = [], commands = [], ptitle = "", xlabel = "", ylabel = "", size = (320,240) )

Input

plotitems Image

List of plotitems. Each item is itself a list of one to four elements: [xarr, yarr, atitle, astyle].

Default: [] ([])

commands Image

List of strings. Each string is a Gnuplot command.

Default: [] ([])

ptitle String

Plot title.

Default: "" ('')

xlabel String

Label for X axis.

Default: "" ('')

ylabel String

Label for Y axis.

Default: "" ('')

size Image

Size of the resulting image.

Default: (320,240) ((320,240))

Output

img Image

Plot image.

Description

mmgplot plots a 2D function y=f(x) with the help of the Gnuplot package.

[mmshow] [Up] [mmplot]