SetNeuronPosition

Sets the position (used in 3D displays) of a neuron variable.

Syntax

doc.SetNeuronPosition(neuronVar, x, y)

Parameters

Parameter

Type

Description

neuronVar

variable reference

Reference to the neuron variable.

x

number

x coordinate of position (within [0,100] range

y

number

y coordinate of position (within [0,100] range

Return

None.

Examples

Python

import nex
doc = nex.GetActiveDocument()
doc.SetNeuronPosition(doc['SPK01a'], 8.0, 12.5)