Plotting the weights