Save the current graphic panel configuration to a file.
This function is for use with the deprecated PQG graphics.
Parameters: filename (string) – name of file. Returns: err (scalar) – 0 if successful, 1 if graphic panel matrix is invalid. Note that the file is written in either case.