*RegisterPythonFunction()
Registers a Python function.
Syntax
*RegisterPythonFunction (function, file, parameters)
Application
HyperGraph 2D and HyperGraph 3D.
Inputs
- function
- The name of the Python function.
- file
- The name of the Python file where the function resides.
- parameters
- The number of parameters the function accepts as input. This is for syntax presentation only.
Context
*BeginDefaults()
*BeginPlot3DDefaults()
*BeginPlotDefaults()
Example
*BeginPlotDefaults()
*RegisterPythonFunction(“NewFunc”, “C:/funcs/pythonfunc.py”, 2)
*EndPlotDefaults()