plot has inputs