Opening A. Ps from Command Line

Opening A. Ps from Command Line

I want to open a .PS (postscript file) having produced it from a .csh script running a series of GMT commands preferably using ghostview. I am trying:

gv plot.ps

This however opens ghostview but not my plot. Instead I just get the spinning wheel. The plot itself can however be opened through the file viewer and is fully functional.

I have been looking at this thread:

which suggests:

GS> (c:/Users/Ankit/Desktop/abc.ps)

But this also does not work for me.

I am using Ubuntu 16.04.

2 Answers

While gv is a venerable and classic postscript viewer, it is not standard installed in Ubuntu 16.04. Did you try evince?

evince plot.ps &

You can use Ghostscript (PostScript and PDF language interpreter and previewer) simply launch it form the command line like this:

gs plot.ps
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.