close a graphics export session
xend()
xend is used to close a graphics export session. When working on the export of a graphic, xend closes the file which was opened by xinit.
xend
xinit
current_driver = driver() driver("Pos") xinit("foo.ps") plot2d() xend() driver(current_driver)