draws uv graph