Added UDP plot code.