Hooked up the context menu plot function.