[SAC-HELP] how to convert macro file to ps file

b shirisha b.shirishas at gmail.com
Tue Jan 20 22:16:05 PST 2009


Dear All

is there any sac command to convert macro file  to ps file. The macro
file contains  intial event and final event in the same graphical window. so
by converting it to ps file format we got only intial event, the commands we
used for ps file conversion are

*SAC> bg sgf*
*SAC> p2*
*SAC>sgftops f001.sgf <file name with .ps extension>*
**
the script of macro file is as follows


*xlable "time @(s@)" size tiny
xdiv power off
fileid off
beginframe
color on i on l black blue
gtext font 1 size small
symbol off
ylable off
 ylim   -98341.4     85221.8
 title "Final bsr ,    1.03672"
 xvport  0.550000   0.900000
 yvport   1.00000E-01  0.660000
 xlim    1107.04    1548.04
 read datf1.bsr   synf1.bsr
 plot2
 ylim  -77907.1  78657.5
 title "Intial bsr  , 3.15267"
 xvport    1.00000E-01  0.450000
 yvport    1.00000E-01  0.660000
 xlim    1107.04  1548.04
 read datf1.bsr  syns1.bsr^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/sac-help/attachments/20090121/229ea7c1/attachment.html>


More information about the sac-help mailing list