Friedrich Romstedt wrote:
> 2010/4/19 Eric Firing <efir...@hawaii.edu>:
>> David Ho wrote:
>>> Just as an illustration, I'm looking for a nice way to plot something
>>> like this:
>>> http://labrosa.ee.columbia.edu/matlab/sgram/
>>>
>>> I don't necessarily need a weighting matrix to convert the Pxx array,
>>> which is what Dan Ellis' code does; I just need to visualize the
>>> spectrogram on a logarithmic axis.
>>>
>>> Is there any built-in way to do this?
>> David,
>>
>> The components exist, but they have not been assembled.  One approach
>> would be to use the NonUniformImage class in place of image to handle
>> the log axis case.  A variation would be to use pcolorfast.  Evidently
>> we need to add a log scale option to the existing specgram.  I can't do
>> it right now--maybe someone else will.
>>
>> Eric
> 
> Hello David,
> 
> You asked for a builtin solution, and I think this question has been
> answered by Eric, but maybe you want also a more elaborate solution.
> 
> As a workaround, do you think you can do the spectrogram
> transformation on your own using the functions matplotlib uses to
> generate the data, and use pcolor() to plot it with a logarithmic
> mesh?

Use pcolormesh or Axes.pcolorfast--pcolor will take forever.

Eric

> 
> Friedrich


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to