load_file("nrngui.hoc")

xpanel("Demo")
xlabel("50Hz Stim")
xradiobutton("@-80mV x50", "restart() load_file(\"Sim50x50_hhmfb&KIn.hoc\")")
xradiobutton("@-70mV x50", "restart() load_file(\"Sim50x50(-70)_hhmfb&KIn.hoc\")")
xradiobutton("@-70mV x40", "restart() load_file(\"Sim50x40(-70)_hhmfb&KIn.hoc\")")
xradiobutton("@-70mV x50 non-inactivating", "restart() load_file(\"Sim50x50(-70)_hhmfb.hoc\")")
xlabel("20Hz Stim")
xradiobutton("@-80mV x60", "restart() load_file(\"Sim20x60_hhmfb&KIn.hoc\")")
xradiobutton("@-70mV x60", "restart() load_file(\"Sim20x60(-70)_hhmfb&KIn.hoc\")")
xradiobutton("@-70mV x50", "restart() load_file(\"Sim20x50(-70)_hhmfb&KIn.hoc\")")
xradiobutton("@-70mV x60 non-inactivating", "restart() load_file(\"Sim20x60(-70)_hhmfb.hoc\")")
xlabel("100Hz Stim")
xradiobutton("@-80mV x50", "restart() load_file(\"Sim100x50_hhmfb&KIn.hoc\")")
xradiobutton("@-70mV x50", "restart() load_file(\"Sim100x50(-70)_hhmfb&KIn.hoc\")")
xradiobutton("@-70mV x40", "restart() load_file(\"Sim100x40(-70)_hhmfb&KIn.hoc\")")
xradiobutton("@-70mV x50 non-inactivating", "restart() load_file(\"Sim100x50(-70)_hhmfb.hoc\")")
xlabel("50Hz Stim location")
xradiobutton("@-70mV distal", "restart() load_file(\"Sim50x50(-70_distal)_hhmfb&KIn.hoc\")")
xradiobutton("@-70mV middle", "restart() load_file(\"Sim50x50(-70_middle)_hhmfb&KIn.hoc\")")
xradiobutton("@-60mV middle", "restart() load_file(\"Sim50x50(-60_middle)_hhmfb&KIn.hoc\")")
xradiobutton("@-70mV proximal", "restart() load_file(\"Sim50x50(-70_proximal)_hhmfb&KIn.hoc\")")
xradiobutton("@-60mV proximal", "restart() load_file(\"Sim50x50(-60_proximal)_hhmfb&KIn.hoc\")")
xradiobutton("@-75mV whole axon", "restart() load_file(\"Sim50x50(-75_whole)_hhmfb&KIn.hoc\")")
xlabel("bi-directional")
xradiobutton("@-70mV middle", "restart() load_file(\"Sim50x50(-70_middle2)_hhmfb&KIn.hoc\")")
xradiobutton("@-60mV middle", "restart() load_file(\"Sim50x50(-60_middle2)_hhmfb&KIn.hoc\")")
xlabel("non-inactivating+inactivating")
xradiobutton("@-70mV 0.9inactivating+0.1non-inactivating", "restart() load_file(\"Sim50x50(-70)_0.9hhmfb&KIn+0.1hhmfb.hoc\")")
xradiobutton("@-60mV 0.9inactivating+0.1non-inactivating", "restart() load_file(\"Sim50x50(-60)_0.9hhmfb&KIn+0.1hhmfb.hoc\")")
xlabel("voltage-clamp")
xradiobutton("inactivating", "restart() load_file(\"Test_hhmfb&KIn.hoc\")")
xradiobutton("non-inactivating", "restart() load_file(\"Test_hhmfb.hoc\")")
xradiobutton("0.9inactivating+0.1non-inactivating", "restart() load_file(\"Test_0.9hhmfb&KIn+0.1hhmfb.hoc\")")
xpanel(10, 565)
proc restart() {objectvar graphList[n_graph_lists], RunControl, graphItem, flush_list
for i=0,n_graph_lists-1 graphList[i] = new List(1)
flush_list = new List(1)
}