How can I start RunControl panel from Python to avoid clicking each time on Tools->RunControl
If you already see the NEURON Main Menu toolbar,
How did I figure this out?
NEURON's standard run system and much of its GUI interface are defined by code in
If you need to find out something about a keyword that is part of the standard run system or GUI, search for it in that directory. In this case, I did
grep RunControl *
and that returned, among other things, this:
stdrun.hoc: xbutton("RunControl", "nrncontrolmenu()")
Be sure to read the Programmer's Reference entry about xbutton().
How can I change size of the PlotShape window?
Bring one up, drag it to where you want it on the screen, then save it by itself to a .ses file, and examine the contents of that file with a text editor to discover the names of the functions that are used. Next, manually resize it, then save it to a new .ses file, and examine the contents of the new ses file and (re-)read the relevant Programmer's Reference entries to discover which parameters control size and which ones control position.
Also each view() call creates a new PlotShape window, so any changes to the ps object applies only to the first PlotShape window which was created (the default size, small one). Is there any way to adjust view on the currently controlled PlotShape window (ps object which I can additionally adjust)?
I think you'll discover that you only want to execute view() one time. If you need to call it more than once, you'll probably want to unmap the PlotShape window before each additional execution of view().