graph for plot3