Thread: Graphic Problem

Started: 2014-01-23 00:47:27
Last activity: 2014-01-23 16:12:19
Topics: SAC Help
Mohit Agrawal
2014-01-23 00:47:27
Hello all,

I have the sac macro like this:

sc mkdir GoodOnes
do file wild R.*
setbb vert $file
r %vert
p1
setbb resp (REPLY "Enter g to copy the file to GoodOnes")
if %resp eq "g" then
sc cp %vert GoodOnes
else
Message "...This was a bad event."
endif
enddo

I want to plot each file and examine it and then send it to GoodOnes folder
by typing "g". But the graphic window it shows does not plot anything at
all and it is all white.

What could be the possible error. Please help.

-Mohit

  • raja babu
    2014-01-23 16:12:19
    Hi,

    Mohit just use

    r %vert% instead of r %vert. it will work.


    On Thu, Jan 23, 2014 at 4:17 AM, mohit agrawal <ism21.mohit<at>gmail.com>wrote:

    Hello all,

    I have the sac macro like this:

    sc mkdir GoodOnes
    do file wild R.*
    setbb vert $file
    r %vert
    p1
    setbb resp (REPLY "Enter g to copy the file to GoodOnes")
    if %resp eq "g" then
    sc cp %vert GoodOnes
    else
    Message "...This was a bad event."
    endif
    enddo

    I want to plot each file and examine it and then send it to GoodOnes
    folder by typing "g". But the graphic window it shows does not plot
    anything at all and it is all white.

    What could be the possible error. Please help.

    -Mohit

    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help



14:59:09 v.01697673