Reference

Table of Contents  ▸  List of Commands  ▸  Image Drawing  ▸  graph◀  gaussian    |    grid  ▶

graph

Built-in command

Arguments:

Description:

Draw specified function graph on selected images.

plot_type can be { 0=none | 1=lines | 2=splines | 3=bar }.
vertex_type can be { 0=none | 1=points | 2,3=crosses | 4,5=circles | 6,7=squares }.
pattern is an hexadecimal number starting with 0x which can be omitted
even if a color is specified.

Default values:

plot_type=1, vertex_type=1, 'ymin=ymax=0 (auto)', opacity=1, pattern=(undefined)

and color1=0.

Example of use:

$ gmic image.jpg +rows 50% blur[-1] 3 split[-1] c div[0] 1.5 graph[0] [1],2,0,0,0,1,255,0,0 graph[0] [2],2,0,0,0,1,0,255,0 graph[0] [3],2,0,0,0,1,0,0,255 keep[0]

Command: image.jpg +rows 50% blur[-1] 3 split[-1] c div[0] 1.5 graph[0] [1],2,0,0,0,1,255,0,0 graph[0] [2],2,0,0,0,1,0,255,0 graph[0] [3],2,0,0,0,1,0,0,255 keep[0]