Thread: Re: xlim for Spectrogram

Started: 2012-11-20 15:45:48
Last activity: 2012-11-20 15:45:48
Topics: SAC Help
Megan Torpey
2012-11-20 15:45:48
Hi Justin -

I have been working with spectrogram a lot lately and I do not think you can zoom in/out with spectrogram like you can with ppk. Instead, you have to cut your input seismogram for the desired time range and run it through spectrogram on its own.

Hope this helps!
Megan


Envoyé de mon iPhone

Le Nov 20, 2012 à 1:20 AM, George Helffrich <george.helffrich<at>bristol.ac.uk> a écrit :

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

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

11:42:06 v.22510d55