Adding output to plot3