start GUI with graph that contain many variables
Posted: Thu Oct 24, 2013 9:26 am
Hello,
I'm trying to investigate a model form modeldb. The model contain a network of cells.
I want to do the investigation with the GUI, and I'm trying to plot in a graph the voltage of all the neruon's soma's.
I can just start Neuron and do Graph/Voltage axis... and add all cells soma's. but this will take allot of time.
I'm trying to start Neuron GUI with a graph that contain all the voltages that I want. Then when I'll via the GUI IClamp and SEclamp I will see what is the voltage change in all the cells.
I tried by adding this code
But in the GUI, When I add IClamp and run the model, the voltages are not present in the graph.
Is it possible ? Can I do such a mix of hoc graph and GUI manipulation ? Or do I have to write the point processers also in hoc?
Thank You
I'm trying to investigate a model form modeldb. The model contain a network of cells.
I want to do the investigation with the GUI, and I'm trying to plot in a graph the voltage of all the neruon's soma's.
I can just start Neuron and do Graph/Voltage axis... and add all cells soma's. but this will take allot of time.
I'm trying to start Neuron GUI with a graph that contain all the voltages that I want. Then when I'll via the GUI IClamp and SEclamp I will see what is the voltage change in all the cells.
I tried by adding this code
Code: Select all
objref Gra
Gra = new Graph()
Gra.size(0,355,-80,40)
Gra.addvar("Layer2_Fast[0].soma.v(0.5)",1,1,0.6,0.9,2)
Gra.addvar("Layer2_Fast[1].soma.v(0.5)",2,1,0.6,0.9,2)
Gra.addvar("Layer2_Fast[2].soma.v(0.5)",3,1,0.6,0.9,2)
Gra.addvar("Layer2_Fast[3].soma.v(0.5)",4,1,0.6,0.9,2)
Gra.addvar("Layer2_Fast[4].soma.v(0.5)",5,1,0.6,0.9,2)
Gra.addvar("Layer2_Fast[5].soma.v(0.5)",6,1,0.6,0.9,2)
Is it possible ? Can I do such a mix of hoc graph and GUI manipulation ? Or do I have to write the point processers also in hoc?
Thank You