Specification of a drawing. The drawing can be rendered on a Graph as many times as desired using
graph.glyph(g, x, y, scalex, scaley, angle)
The drawing style uses commands reminiscent of postscript.
Rotated ellipse
from neuron import h, gui
gr = h.Graph()
gl = h.Glyph()
gl.circle(0,0,1)
gl.fill(3)
gl.s(2, 3)
gr.glyph(gl, 150, 100, 30, 60, h.PI/4*h.DEG)
See also
g = g.s()
g = g.s(colorindex)
g = g.s(colorindex, brushindex)
g = g.fill()
g = g.fill(colorindex)