[obspy-users] Spectrogram colormap

Lion Krischer krischer at geophysik.uni-muenchen.de
Fri Dec 4 14:13:50 CET 2015


Hi Florian,

the spectrogram method has "cmap" and "clip" arguments. The first 
changes the colormap and the second one can be used to set the upper and 
lower range of values.

https://docs.obspy.org/packages/autogen/obspy.imaging.spectrogram.spectrogram.html#obspy.imaging.spectrogram.spectrogram

Cheers!

Lion

On 04/12/15 13:09, Florian Fuchs wrote:
> Hello community,
>
> I’d like to change the saturation of colors in the spectrogram() plots 
> (such that color is not scaled to the max value but to one I set). How 
> can I do this? Also, how can I add the color bar to the spectrogram 
> plots?
>
> Thanks very much!
> Florian
>
>
> _____________________________________
>
> Dr. Florian Fuchs
> Department of Meteorology and Geophysics
> University of Vienna
> UZA II, 2D508
> Althanstraße 14
> 1090 Vienna
> Austria
> Phone: +43 1 4277 53726
> Mobile: +43 664 60277 53726
> www: http://imgw.univie.ac.at
> _____________________________________
>
>
>
> _______________________________________________
> obspy-users mailing list
> obspy-users at lists.swapbytes.de
> http://lists.swapbytes.de/mailman/listinfo/obspy-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.swapbytes.de/pipermail/obspy-users/attachments/20151204/61e7d5a0/attachment-0001.html>


More information about the obspy-users mailing list