Opening a .PS from command line
Matthew Barrera
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.psThis 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