Place dot on on shape plot using .hoc code
Posted: Tue Sep 27, 2011 4:07 pm
I am placing synapses on a realistic dendritic morphology via .hoc code for example:
Then I am making a PlotShape to see the voltage throughout the dendrite. On the PlotShape I would like to place a marker where I place each synapse. Is there a way to do this via .hoc code?
Code: Select all
objref syn1
access dend[49]
syn1 = new AlphaSynapse(.928571) // place a synapse
//syn1 = new AlphaSynapse(0.642857)
syn1.get_loc()
syn1.onset = 1 // ms
syn1.tau = 5 // ms
syn1.gmax = .001 // uS
syn1.e = 0 // mV