plot different kinds of graph