Le vendredi 03 février 2012 à 17:39 +0000, David Craig a écrit :
> sure how to get it to plot the outputs from specgram. I use 
> specgram as follows,
> Pxx, freqs, bins, im = plt.specgram(......)
> what am I trying imshow?? 

plt.specgram computes the spectrogram and when calls imshow to display
the resulting array into an image

Please tell the shape of Pxx, and try the following

import numpy as np
import matplotlib.pyplot as plt
a = np.empty((12000, 14400), dtype=float)
plt.imshow(a)
plt.show()


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to