Hello,
I wrote some hoc code that defines 4 unique cells with positions such that they are arranged in a row when I create a Shapeplot. Now I am wondering if I can limit which cells are displayed in a Shapeplot, ideally making a separate Shapeplot for each cell? I'm fine with a solution using hoc, if that's available, just not sure where to post this question!
Thanks!
Specify which cells get plotted in a Shapeplot?
-
- Site Admin
- Posts: 6299
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: Specify which cells get plotted in a Shapeplot?
You could separate them so they don't appear to overlap, then specify viewport coordinates so that only one is shown, but I wonder if there is a better approach.
Re: Specify which cells get plotted in a Shapeplot?
http://www.neuron.yale.edu/neuron/stati ... shape.html
and http://www.neuron.yale.edu/neuron/stati ... shape.html
take a SectionList as an optional first arg which specified the sections to be drawn. Note that if your currently accessed section
is a section in the cell you want to see then
seclist.whole(cell)
will be all the sections in the cell (more precisely the whole tree that contains the currently accessed section)
and http://www.neuron.yale.edu/neuron/stati ... shape.html
take a SectionList as an optional first arg which specified the sections to be drawn. Note that if your currently accessed section
is a section in the cell you want to see then
seclist.whole(cell)
will be all the sections in the cell (more precisely the whole tree that contains the currently accessed section)
Re: Specify which cells get plotted in a Shapeplot?
Forgot to mention that SectionList.wholecell appends to the SectionList so you can do several cells.
Re: Specify which cells get plotted in a Shapeplot?
Perfect, thanks!