Georg Holzmann wrote: > Hallo! > > (Sorry if this is maybe a basic question, but I did not find something > in the archives or in the net) > > I am trying to make a spectrogram of audio data with the function > "specgram", where the frequency axis is logarithmic (as it is used > usually in audio/speech processing). > However, "specgram" uses a linear frequency axis by default and I was > not able to change this behaviour ... > > So my question: is it possible to get a logarithmic frequency axis with > specgram or any other function ?
One way would be to use the NonUniformImage class in image.py instead of the Image class that is being used by the imshow() call in Axes.specgram. See examples/pcolor_nonuniform.py for an example of how to use the NonUniformImage class. Eric > > Many thanks for any hints, > LG > Georg ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users