Please enable JavaScript to view this site.

GeoDict User Guide 2025

Graph Dialog Class

Create a GeoDict graph with the graph dialog class.

gd.makeGraphDialog

Graph dialogs allow displaying multiple graphs with multiple data sets per graph.

Input: None

Sub functions

hmtoggle_arrow0.addGraph

hmtoggle_arrow0.addData

hmtoggle_arrow0.run

Example

gDlg = gd.makeGraphDialog()

# create a graph

# dialog object

graph1 = gDlg.addGraph("Graph title", "X-Axis Legend", "Y-Axis Legend")

# add a graph object

# with the given title,

# x-axis legend

# and y-axis legend

graph1.addData([1,2,3], [1,2,3], "Linear function: y = x")

# add a single dataset

# with the given x values,

# y values and

# legend to this graph

graph1.addData([1,2,3], [1,4,9], "Quadratic function: y = x^2")

# add another dataset

gDlg.run()

# execute the

# graph dialog

AUTOMA~1_img172

©2025 created by Math2Market GmbH / Imprint / Privacy Policy