[SAC-HELP] jpeg/gif output from sac

Igor Stubailo stubailo at moho.ess.ucla.edu
Tue Sep 9 14:56:52 PDT 2008


Arthur,

You understood my question correctly, thank you.
Your method is similar to the one mentioned by Kuang. We tried it and it 
works!

Thanks again,
Igor

On Tue, 9 Sep 2008, Arthur Snoke wrote:

> 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
>
>    bd sgf
>
> 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:
>> Kuang,
>> 
>> Thanks a lot. I am going to try that.
>> 
>> -Igor
>> 
>> 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:
>>> 
>>> http://www.iris.washington.edu/pipermail/sac-help/2007-May/000259.html
>>> 
>>> 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 
>>>> options
>>>> in the sac's help.
>>>> 
>>>> Thanks,
>>>> Igor
>>>> _______________________________________________
>>>> sac-help mailing list
>>>> sac-help at iris.washington.edu
>>>> http://www.iris.washington.edu/mailman/listinfo/sac-help
>>>> 
>>> _______________________________________________
>>> sac-help mailing list
>>> sac-help at iris.washington.edu
>>> http://www.iris.washington.edu/mailman/listinfo/sac-help
>>> 
>> _______________________________________________
>> sac-help mailing list
>> sac-help at iris.washington.edu
>> http://www.iris.washington.edu/mailman/listinfo/sac-help
>
>



More information about the sac-help mailing list