I have the following code that graphs a specific, hardcoded segment in Neuron:
Code: Select all
b = new VBox()
b.intercept(1)
g = new Graph()
g.size(0,tstop,-70,70)
g.family(1)
g.addvar("apical[80].v(rel)",2,2,2*tstop,0,2) /////graphs apical[80] each time
g.xaxis(1)
xpanel(" ",1)
xbutton("current ", "runc()")
xbutton("AMPA", "runa()")
xbutton("AMPA+NMDA", "runm()")
Is there an object/variable that I can use to access the current segment selected from the Electrode window?
Thanks