I'm trying to do something in hoc that is quite simple to do with the GUI (I'm sure it's also simple in hoc, I'm just at a loss for trying to figure out how to do it). I just want to open a simple shape plot that is color coded by a variable (e.g. the voltage "v"). I've looked through the PlotShape() documentation to no avail so far. Here's what i've tried:
Code: Select all
objref g2
g2 = new PlotShape()
g2.variable("gIhbar_Ih")
g2.flush()
THanks.