Thread: Re: xlim for Spectrogram

Started: 2012-11-20 04:26:39
Last activity: 2012-11-20 14:20:09
Topics: SAC Help
Justin Wood
2012-11-20 04:26:39
Hello all,

I just want to make the request from my previous email more clear. I would
like to know how to change the time range (on the x-axis) of the
spectrogram, not the frequency range.

Thanks again
Justin

On Mon, Nov 19, 2012 at 6:18 PM, Milton Plasencia <mpplasencia<at>gmail.com>wrote:


Hi Justin,

You can to change the frequency range using YMAX variable.
see spectrogram help.

HTH,

Milton


* * * * * * * * * * * * * * * * * * * * * * *
Milton P. PLASENCIA LINARES

Centro di Ricerche Sismologiche (CRS)
Istituto Nazionale di Oceanografia e di Geofisica Sperimentale - OGS

Borgo Grotta Gigante 42/C
(34010) Sgonico - TRIESTE - ITALIA
Tel: +39 040 2140 141 (Udine)
Tel: +39 040 2140 365 / 256 (Trieste)
Fax: +39-040-327307

E-mail: mplasencia<at>inogs.it

ASAIN (Antarctic Seismographic Argentinean Italian Network)
*********************************







On Nov 19, 2012, at 8:31 PM, Justin Wood <justinwood<at>siu.edu> wrote:

Hello all,

Is there a way to zoom in on a SAC spectrogram as you would for a
seismogram? That is, can you zoom into a specified time window on a
spectrogram. I've tried using the xlim command, but it only changes the
time window on the seismogram and not the spectrogram. Any help would be
appreciated.

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




  • George Helffrich
    2012-11-20 14:20:09
    Dear All -

    To display only a portion of the spectrogram, use the XYZ option and then display the image using GRAYSCALE COLOR. This MacSAC example shows the general idea:

    FUNCGEN SEISMOGRAM

    SPECTROGRAM XYZ

    XLIM 11 16; YLIM 0 20

    BEGINFRAME; GRAYSCALE COLOR; CONTOUR; ENDFRAME

    On 20 Nov 2012, at 02:26, Justin Wood wrote:

    Hello all,

    I just want to make the request from my previous email more clear. I would like to know how to change the time range (on the x-axis) of the spectrogram, not the frequency range.

    Thanks again
    Justin

    On Mon, Nov 19, 2012 at 6:18 PM, Milton Plasencia <mpplasencia<at>gmail.com> wrote:

    Hi Justin,

    You can to change the frequency range using YMAX variable.
    see spectrogram help.

    HTH,

    Milton


    * * * * * * * * * * * * * * * * * * * * * * *
    Milton P. PLASENCIA LINARES

    Centro di Ricerche Sismologiche (CRS)
    Istituto Nazionale di Oceanografia e di Geofisica Sperimentale - OGS

    Borgo Grotta Gigante 42/C
    (34010) Sgonico - TRIESTE - ITALIA
    Tel: +39 040 2140 141 (Udine)
    Tel: +39 040 2140 365 / 256 (Trieste)
    Fax: +39-040-327307

    E-mail: mplasencia<at>inogs.it

    ASAIN (Antarctic Seismographic Argentinean Italian Network)
    *********************************







    On Nov 19, 2012, at 8:31 PM, Justin Wood <justinwood<at>siu.edu> wrote:

    Hello all,

    Is there a way to zoom in on a SAC spectrogram as you would for a seismogram? That is, can you zoom into a specified time window on a spectrogram. I've tried using the xlim command, but it only changes the time window on the seismogram and not the spectrogram. Any help would be appreciated.

    Thank you,
    Justin
    _______________________________________________
    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



    George Helffrich
    george.helffrich<at>bris.ac.uk


23:07:45 v.22510d55