added copy plot cell function