add plot interface