script to plot the user data