I was wondering if there is a way to have multiple point processes of the same type displayed on a shape plot of the cell. I know the point process viewer displays a list of PPs, but I was hoping there is some way I could use the existing windows or design my own window to show them as dots on the cell (as you see with the Point Process Manager).
Thanks,
Annik
Visualizing multiple point processes in the same window
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: Visualizing multiple point processes in the same window
You can do this with the Shape class's point_mark method, documented here http://www.neuron.yale.edu/neuron/stati ... shape.html.
Re: Visualizing multiple point processes in the same window
I have:
Where Gstim is a list of GABAergic synapses which are randomly distributed over a section.
When I run the code I get the following error:
What are the appropriate arguments?
Code: Select all
// make the shape plot for point process tracking
save_window = new Shape()
save_window.size(-245.449,315.449,-160,330)
for i = 1,Gstim.count(){
save_window.point_mark(Gstim.o(i), 2, "o", 4)
}
{save_window.view(-245.449, -160, 560.898, 490, 700, 500, 350.4, 304.96)}
fast_flush_list.append(save_window)
save_window.save_name("fast_flush_list.")
save_window.exec_menu("Shape Plot")
save_window.exec_menu("Show Diam")
save_window.exec_menu("View = plot")
When I run the code I get the following error:
Code: Select all
nrniv: Arg out of range in user function
in makeWindows.hoc near line 106
}
^
List[9].o(40 )
xopen("makeWindows.hoc" )
xopen("mosinit.hoc" )
run_sim( )
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: Visualizing multiple point processes in the same window
The essential clue is in the error message:What are the appropriate arguments?
Code: Select all
nrniv: Arg out of range in user function
in makeWindows.hoc near line 106
. . .
List[9].o(40 )