I have had some success with accessing the PlotShape() function through Python in Jupyter and up dating it so I can see a pretty coloured wave of Vm traversing my test model (based on your own tutorials). To moviefy this, I can screen record it, however, usually with Python in other projects I save timeslices and then can gather these up as a movie or animation later. Is there a way to do this with NEURON 8.0. So perhaps that is a little garbled:
This produces a nice updating graphic:
Code: Select all
ps2 = h.PlotShape(True)
ps2.variable('Vm')
ps2.scale(10,-100)
ps2.show(0)
ps2.exec_menu('Shape Plot')
h.fast_flush_list.append(ps2)
When I attempted Matplotlib:
Code: Select all
...
ps2.plot(pyplot)
pyplot.show()
I realise I can programmatically collate this data and plot separately, but I don't want to re-invent the wheel if this is already built in...
Kindest Regards
Richard
NEURON 8.0 iMac latest OsX whatever that is....
Currently using Jupyter Notebook, Python 3.7