new code to generate GW channel  plot