implement basic version of variable plotting via context menu