Plotting the hilbert transform and the envelope function