Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

Opening a .PS from command line

Writer 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.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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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