From 0c83de6589bf89e89e636878510449730e649f70 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 27 Jul 2012 10:36:58 -0600 Subject: [PATCH] demo_tss.py: add plotting --- interfaces/python/demo_tss.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/interfaces/python/demo_tss.py b/interfaces/python/demo_tss.py index de29d26d..5268ab10 100755 --- a/interfaces/python/demo_tss.py +++ b/interfaces/python/demo_tss.py @@ -33,3 +33,15 @@ if __name__ == '__main__': steadstate = pw.rdo(stead_spec) # overlap-add synthesis of steady states g(transients, read) # write transients to output h(steadstate, read) # write steady states to output + + del f, g, h # finish writing the files now + + from demo_spectrogram import get_spectrogram + from pylab import subplot, show + subplot(311) + get_spectrogram(sys.argv[1]) + subplot(312) + get_spectrogram(sys.argv[2]) + subplot(313) + get_spectrogram(sys.argv[3]) + show() -- 2.26.2