only plot dendrites in shape plot

Managing anatomically complex model cells with the CellBuilder. Importing morphometric data with NEURON's Import3D tool or Robert Cannon's CVAPP. Where to find detailed morphometric data.
Post Reply
tine
Posts: 10
Joined: Thu Jan 13, 2011 2:18 pm

only plot dendrites in shape plot

Post by tine »

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
ted
Site Admin
Posts: 6300
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: only plot dendrites in shape plot

Post by ted »

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.

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")
tine
Posts: 10
Joined: Thu Jan 13, 2011 2:18 pm

Re: only plot dendrites in shape plot

Post by tine »

thanks
Post Reply