Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GNUPLOT_PS_DIR and gnuplot from octave #324

Closed
billpage opened this issue Dec 10, 2015 · 3 comments
Closed

GNUPLOT_PS_DIR and gnuplot from octave #324

billpage opened this issue Dec 10, 2015 · 3 comments

Comments

@billpage
Copy link
Contributor

The Octave command:

saveas(h1,"figure1.png");

used to work but now I get the following message:

Can't find PostScript prologue file prologue.ps
    loadpath is empty
    gnuplotrc is read from /projects/24a70e9b-9eee-4d22-8665-b589c410fa4b/share/gnuplot/5.0
    no XAPPLRESDIR found in the environment,
        falling back to "/etc/X11/app-defaults/"
Please copy prologue.ps to one of the above directories
or set the environmental variable GNUPLOT_PS_DIR
or set the loadpath appropriately
         line 0: Plot failed!

See for example: https://cloud.sagemath.com/projects/b04b5777-e269-4c8f-a4b8-b21dbe1c93c6/files/MIW2DVoronoiV1TestSagePlot.sagews

@williamstein
Copy link
Contributor

Can you please create a minimal example to illustrate this?

This webpage http://gnuplot.sourceforge.net/docs_4.2/node410.html says "If you see the error message "Can't find PostScript prologue file ... " Please see and follow the instructions in postscript prologue (p. [*])." Maybe somebody can read that webpage and see if it makes any sense.

@billpage
Copy link
Contributor Author

@billpage
Copy link
Contributor Author

This was my error. I had install gnuPlot version 5 locally in my project. After deleting the local version the example now works as expected. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants