/usr/share/nrn/demo/dend3/control.hoc is in neuron 7.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | access soma
x=0
objectvar sg, g, sh
proc spaceplot() {local i
g = new Graph()
sg = new RangeVarPlot("v")
node[nmyelin-1] sg.begin(1) dend[0] sg.end(1)
g.size(sg.left(), sg.right(), -80, 40)
g.yaxis()
g.addobject(sg)
for i=1,2 {
sg = new RangeVarPlot("v")
dend[i] sg.begin(0) dend[i] sg.end(1)
sg.origin(soma.L)
g.color(i+1)
g.addobject(sg)
}
flush_list.append(g)
g.save_name("flush_list.")
sh = new PlotShape()
flush_list.append(sh)
sh.save_name("flush_list.")
}
//spaceplot()
objectvar sg, g, sh
|