add glyph functions to plot class