Because some terminal types allow multiple plots to be written into a single
output file, the output file is not automatically closed after plotting.
In order to print or otherwise use the file safely, it should first be closed
explicitly by using unset output or by using set output to close the
previous file and then open a new one.