Error G0463 : Failure generating graph

I have some code that uses the pgraph library function xy to draw a graph. I am getting the error:

G0463 : Failure generating graph

How do I resolve this?

2 Answers


The PQG graphics library creates a temporary graphic file in your current working directory named graphic.tkf. If your user does not have write permissions in your GAUSS current working directory, then this error will come up.

To resolve this error, change your GAUSS current working directory to point at a directory to which you have write permissions.

Note that the new GAUSS graphics library does not create a temporary file when it draws a graph. If you replace your call to xy with a call to the replacement function, plotXY this will also resolve your problem and give a nicer looking graph.


"An example of a directory to which you have write permissions is your Documents folder located at c:\Users\YourUserName\Documents (on Windows).

You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 14 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy