If you are working off a file source, then you should be able to use the "head" block to limit the number of samples read from the file. For example, if you want to average 32 spectrums of length 1024, then you need 32*1024 samples in the "head".
Sorry, no idea how to change the default time plot. I have some example python code here that plots. Just read the file into a numpy array, then matplotlib. https://www.dropbox.com/s/qur7rbxl3cpktjr/wwvb.py?dl=0 https://www.dropbox.com/s/bs4bw2ue6hp5xq3/wwvb.grc?dl=0 Lou Adellain TSIAHINA wrote > Now ideally I'd like to save only ONE spectrum instead of "animations" How > to achieve this (e.g. I would save a spectrum integrated over 30s)? > > Also I'd like to display the frequencies in the x axis and not the time in > (ms) as you did. > > Maybe I can write my own python scripts to plot the data. I tried to use > the scripts in gr-utils such as plot_data but I don't know exactly how to > use it (the options...), would you have an example? -- View this message in context: http://gnuradio.4.n7.nabble.com/accumulate-spectrum-tp60256p60274.html Sent from the GnuRadio mailing list archive at Nabble.com. _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio