Convenience function for quick inline plot rendering.
This is similar to ugd_render() but the plotting code
is specified inline and an unigd graphics device is managed
(created and closed) automatically. Starting a device with ugd() is
therefore not necessary.