Page 1 of 1

drawing graph

Posted: Wed Feb 11, 2009 1:05 pm
by ronamir
I want to draw overlapping voltage graphs but using two different conductances (active and passive). Something like using "keep lines" but for two different hoc files. How do I execute that? Thanks, Ron Amir

Re: drawing graph

Posted: Wed Feb 11, 2009 3:23 pm
by ted
Conceptualize the problem as a sequence of "Cases" where any given "Case" corresponds to a particular combination of model parameters. Then construct a model that has all mechanisms inserted, and use a custom myrun() procedure like this:

Code: Select all

proc myrun() {
  . . . statements that set the model parameters for Case 1 . . .
  run()
  . . . statements that set the model parameters for Case 2 . . .
  run()
  etc.
}