[SAC-HELP] jpeg/gif output from sac
snoke at vt.edu
Tue Sep 9 14:49:44 PDT 2008
If I understand your question correctly, you can save plots you made in SAC to
an EPS file.
1. First you must save the plot to a file. After you get the plot you like, enter
Then repeat your plot command that had produced your display. You will not see
it, but it will produce a file in the directory you are in named f001.sgf.
You can then convert the .sgf file to a Postscript or EPS file using programs
and scripts provided with SAC. There is some discussion in utils/README_utils
(in version 101.2). There are also comments about how one can make a PDF file,
if you have the right script. Making an EPS file requires ghostscript. Not
needed to make a simple postscript file.
To convert the file to JPG, PNG, etc., you need another program. On a MAC that
can be done in preview.
Let me know if that is not clear -- or if you had a different question.
Igor Stubailo wrote:
> Thanks a lot. I am going to try that.
> On Tue, 9 Sep 2008, Kuang He wrote:
>> Hi Igor,
>> SAC does not have that capability by itself. It can be done using SAC
>> and Imagemagick, which provides a tool called convert.
>> Take a look at this:
>> Best regards,
>> Kuang He
>> Department of Physics
>> University of Connecticut
>> Storrs, CT 06269-3046
>> Tel: +1.860.486.4919
>> Web: http://www.phys.uconn.edu/~he/
>> On Tue, Sep 9, 2008 at 4:48 PM, Igor Stubailo
>> <stubailo at moho.ess.ucla.edu> wrote:
>>> Hello all,
>>> I was wondering if there is an easy way to save the plots I get in sac?
>>> Saving an image in png/gif/jpeg would work but I couldn't find such
>>> in the sac's help.
>>> sac-help mailing list
>>> sac-help at iris.washington.edu
>> sac-help mailing list
>> sac-help at iris.washington.edu
> sac-help mailing list
> sac-help at iris.washington.edu
More information about the sac-help