Error G0463 : Failure generating graph

User ForumError G0463 : Failure generating graph
aptech Staff asked 3 years ago

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
Best Answer
aptech Staff answered 3 years ago

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.

aptech Staff answered 2 years ago

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