dear all,
I have a model which contains both axons and dendrites and a soma. For demonstration purposes I want to make a shapeplot of soma and dendrites only. Does any body has any suggestions how to do this?
thanks
only plot dendrites in shape plot
-
- Site Admin
- Posts: 6303
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: only plot dendrites in shape plot
Make a SectionList that contains only those sections that you want to show. Then make a Shape (shows all sections), and finally use the Shape's observe() method to show only those sections that are in your SectionList. As a final touch, you might want to use the Shape's exec_menu("View = plot").
Example:
start neurondemo
select the "Pyramidal" cell model
at the oc> prompt enter the following statements, one at a time, each followed by pressing the Enter key.
Example:
start neurondemo
select the "Pyramidal" cell model
at the oc> prompt enter the following statements, one at a time, each followed by pressing the Enter key.
Code: Select all
objref some
some = new SectionList()
forsec "dendrite_1" some.append()
objref myshape
myshape = new Shape() // shows the entire cell
myshape.observe(some) // shows only the apical tree
myshape.exec_menu("View = plot")