Code: Select all
ps = h.PlotShape(True)
ps.variable('cai')
ps.scale(0, 0.01)
ps.show(0)
ps.exec_menu('Shape Plot')
Moderator: hines
Code: Select all
ps = h.PlotShape(True)
ps.variable('cai')
ps.scale(0, 0.01)
ps.show(0)
ps.exec_menu('Shape Plot')
The Programmer's Reference documentation of PlotShape shows how to use Python to set up a false color plot, but doesn't show how to make it update automatically during a simulation. That's a pity, because if you're using NEURON's standard run time system, it's very easy to automate PlotShape updates. After yourI would like to monitor "cai" variable across shape plot. After I execute this code it shows correctly what I want to monitor, except that it wont update . . .
When I specify the same parameters with mouse - it works and the plot is updates.