current versus potential

The basics of how to develop, test, and use models.
Post Reply
thats_karlo

current versus potential

Post by thats_karlo »

Hi,

Is there any way to have a graph that shows relation between a specific current and membrane potential.

in fact, i have a *.mod file for the current, before inserting this current in the model and run program, i like to see how the current will change for different value of membrane potential.

In general I=F(V,t). can we have a plot of I=F(v,const.) in NEURON?

thanks,
karlo
ted
Site Admin
Posts: 6394
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Post by ted »

Use a phase plane plot if you must have a graph in which the two variables
change dynamically. Use the GUI to set it up. It's also possible to create
such a graph with hoc statements; to learn how, set up one with the GUI,
then save it to a ses file and read the ses file.

If you just want to plot a line through a sequence of xy values, store the
values in a pair of Vectors and then use the Vector class's plot method--see
the Programmer's Reference for documentation.
Post Reply