2. Creating Graph and Curve objects

A Curve object is simply created by

c = Curve()

Likewise, a Graph object is created like this:

g = Graph()

The Curve object now needs to be added to the Graph object:


Alternatively, in the GUI, selecting File->New->Graph and Curve creates both performs exactly the same operations. However, to fill values into the Curve object, it must be referenced by a Python variable: To this end, first select the Curve object and then choose Object->Assign to Python variable... (see also Section 5.5).