{load_file("rgc-121203.hoc")}
{load_file("global.hoc")}
objref cell
cell = new RGC121203()
//user interface
{load_file("gui.hoc")}
FIELD_LEFT = -100
FIELD_BOTTOM = -100
FIELD_WIDTH = 300
FIELD_HEIGHT = 300
// showCell(FIELD_LEFT, FIELD_BOTTOM, FIELD_WIDTH, FIELD_HEIGHT)
guiGraph.addvar("cell.soma.v(0.5)", 2, 1)
guiGraph.addvar("cell.ais.v(0.5)", 3, 1)
guiGraph.addvar("cell.axon.v(0.99)", 4, 1)
// instrumentation
{load_file("instr.hoc")}
// procedures for publication
proc pubfig() { local FIELD_LEFT, FIELD_BOTTOM, FIELD_WIDTH, FIELD_HEIGHT
FIELD_LEFT = -90
FIELD_BOTTOM = -90
FIELD_WIDTH = 220
FIELD_HEIGHT = 220
showCell(FIELD_LEFT, FIELD_BOTTOM, FIELD_WIDTH, FIELD_HEIGHT)
morph.printfile("skeleton-off-top.ps")
morph.rotate(0,0,0, PI/2,0,0)
morph.printfile("skeleton-off-side.ps")
}