<div>Leah,</div>
<div>Yes, sac files can be read by matlab through saclab. go here <a href="http://www.aeic.alaska.edu/input/mthorne/software/index.html">http://www.aeic.alaska.edu/input/mthorne/software/index.html</a></div>
<div>&nbsp;</div>
<div>Januka<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 9/20/06, <b class="gmail_sendername"><a href="mailto:sac-help-request@iris.washington.edu">sac-help-request@iris.washington.edu</a></b> &lt;<a href="mailto:sac-help-request@iris.washington.edu">
sac-help-request@iris.washington.edu</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Send sac-help mailing list submissions to<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:sac-help@iris.washington.edu">sac-help@iris.washington.edu
</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.iris.washington.edu/mailman/listinfo/sac-help">http://www.iris.washington.edu/mailman/listinfo/sac-help</a><br>or, via email, send a message with subject or body 'help' to
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:sac-help-request@iris.washington.edu">sac-help-request@iris.washington.edu</a><br><br>You can reach the person managing the list at<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:sac-help-owner@iris.washington.edu">
sac-help-owner@iris.washington.edu</a><br><br>When replying, please edit your Subject line so it is more specific<br>than &quot;Re: Contents of sac-help digest...&quot;<br><br><br>Today's Topics:<br><br>&nbsp;&nbsp;1.&nbsp;&nbsp;response spectra (
<a href="mailto:feigelso@rohan.sdsu.edu">feigelso@rohan.sdsu.edu</a>)<br>&nbsp;&nbsp;2. Re:&nbsp;&nbsp;macros (Talal Merghelani)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Wed, 20 Sep 2006 08:49:39 -0700 (PDT)
<br>From: <a href="mailto:feigelso@rohan.sdsu.edu">feigelso@rohan.sdsu.edu</a><br>Subject: [SAC-HELP] response spectra<br>To: <a href="mailto:sac-help@iris.washington.edu">sac-help@iris.washington.edu</a><br>Message-ID:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="mailto:49420.130.191.153.91.1158767379.squirrel@www-rohan.sdsu.edu">49420.130.191.153.91.1158767379.squirrel@www-rohan.sdsu.edu</a>&gt;<br>Content-Type: text/plain;charset=iso-8859-1<br><br>Sac-help,<br>
Can SAC make response spectra?&nbsp;&nbsp;If not, how can sac files be converted for<br>MATLAB to read?<br>Thanks for the help,<br>Leah<br><br><br><br><br>------------------------------<br><br>Message: 2<br>Date: Wed, 20 Sep 2006 11:01:56 -0700 (PDT)
<br>From: Talal Merghelani &lt;<a href="mailto:talalmg1@yahoo.com">talalmg1@yahoo.com</a>&gt;<br>Subject: Re: [SAC-HELP] macros<br>To: SAC HELP &lt;<a href="mailto:sac-help@iris.washington.edu">sac-help@iris.washington.edu
</a>&gt;<br>Message-ID: &lt;<a href="mailto:20060920180156.89339.qmail@web36610.mail.mud.yahoo.com">20060920180156.89339.qmail@web36610.mail.mud.yahoo.com</a>&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;
<br><br>Hi<br><br>thank you for Sonoke and Megan for your vailuble reply. actaully, i have succeeded running the macros and make it exceutable. but, after execution the macros i have got the following error message:<br><br>
talal@clover:[7]%% mystuff2<br>mystuff2: READ: not found<br>mystuff2: MUL: not found<br>mystuff2: FFT: not found<br>mystuff2: BG: not found<br>mystuff2: PSP: not found<br><br>and even when just to try&nbsp;&nbsp;follow the manual. the command macro...not working for me ..!! i'm wondering may that because, i'm using an old version 
0.58 of SAC2000.<br>actaully, its not hat imopratnt unless the macros it self could work fine without the word macro...!!<br><br>talal@clover:[8]%% macro mystuff2<br>macro: Command not found<br><br>by the way, i have put the macros on different directory for example, /export/home/talal/macros.
<br>than, which we can called it default path for macros as megan say's /home/sac/aux/macros ..<br><br>is this seems the problems or what's going on exaclty..?<br>why this error message happen to me...!!??<br><br>any idea?
<br><br>thank you<br>Talal<br><br><br>Arthur Snoke &lt;<a href="mailto:snoke@vt.edu">snoke@vt.edu</a>&gt; wrote:<br>I confess I have not thought very much about macros, because a technique<br>I have used for several generations of sac seems to work.
<br><br>I have made up an &quot;init.m&quot; file that runs when I start sac. I do this by<br>creating an alias for sac:<br><br>equake{snoke}451: alias sac<br>/usr/local/bin/sac /usr/local/macros/Randy/macros/init.m<br>equake{snoke}452: cat /usr/local/macros/Randy/macros/init.m
<br>* SAC macro to intitialize environment each time SAC2000 is started.<br>*echo on<br>*******RANDY'S SAC ENVIRONMENT*********<br>setmacro /usr/local/macros/Randy/macros<br>window 1 x 0.00 1.00 y 0.30 0.92<br>*fg<br>*lh columns 2
<br>sc echo &quot;To get header values in two columns, use lh columns 2&quot;<br>qdp 10000<br>xdiv power off<br>xlabel 'SECONDS'<br>ylabel l r 'EAST NORTH VERTICAL'<br>ylabel off<br>*echo off<br>equake{snoke}453:<br><br>I suggest trying to upgrade from sac2000 to the newer versions if you can
<br>get them either through IRIS or asking LLNL for the binary version.<br><br><br>_______________________________________________<br>sac-help mailing list<br><a href="mailto:sac-help@iris.washington.edu">sac-help@iris.washington.edu
</a><br><a href="http://www.iris.washington.edu/mailman/listinfo/sac-help">http://www.iris.washington.edu/mailman/listinfo/sac-help</a><br><br><br><br>---------------------------------<br>Want to be your own boss? Learn how on&nbsp;&nbsp;Yahoo! Small Business.
<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://www.iris.washington.edu/pipermail/sac-help/attachments/20060920/db53a2be/attachment-0001.html">http://www.iris.washington.edu/pipermail/sac-help/attachments/20060920/db53a2be/attachment-0001.html
</a><br><br>------------------------------<br><br>_______________________________________________<br>sac-help mailing list<br><a href="mailto:sac-help@iris.washington.edu">sac-help@iris.washington.edu</a><br><a href="http://www.iris.washington.edu/mailman/listinfo/sac-help">
http://www.iris.washington.edu/mailman/listinfo/sac-help</a><br><br><br>End of sac-help Digest, Vol 15, Issue 11<br>****************************************<br></blockquote></div><br><br clear="all"><br>