X-Received: by 10.129.125.4 with SMTP id y4mr18019418ywc.48.1448162017023; Sat, 21 Nov 2015 19:13:37 -0800 (PST) X-Received: by 10.182.250.169 with SMTP id zd9mr256681obc.1.1448162016971; Sat, 21 Nov 2015 19:13:36 -0800 (PST) Path: csiph.com!xmission!news.glorb.com!b51no1291002qgf.0!news-out.google.com!l1ni5087igd.0!nntp.google.com!mv3no441012igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Sat, 21 Nov 2015 19:13:36 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=117.194.203.122; posting-account=u0TA4AoAAAD5Jg3J0vew8oYJmwVV_ze1 NNTP-Posting-Host: 117.194.203.122 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <82271787-2bb8-4291-8705-e6eb4656b610@googlegroups.com> Subject: Re: Need some help -- plot fast fourier transform From: dakupoto@gmail.com Injection-Date: Sun, 22 Nov 2015 03:13:36 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.graphics.apps.gnuplot:3139 On Saturday, November 21, 2015 at 5:43:09 AM UTC-5, Karl-Friedrich Ratzsch wrote: > Am 21.11.2015 um 05:56 schrieb dakupoto@gmail.com: > > Could some Gnuplot guru please provide any simple > > example script for plotting FFT(fast fourier > > transform). Currently I am just able to create > > scatter plots of FFT output, but I would much > > rather have the simple line graphs. All hints/ > > suggestions would be greatly appreciated - thans > > in advance for your help. > > This doesn't explain your problem, just the direction from where it > landed on your feet. > > I'd say you don't want a guru, you want a nanny. Sorry. The problem is self-explanatory. I have generated a set of Fast Fourier Transform values(amplitude, phase) using a simple C language program, and the implementation is based on the steps described in Numerical Recipes in C. The C language program is compiled with GCC, running on a Fedora 18 machine. If I start gnuplot, and use use the command line plot 'testout' using 1:2 with lines; I get a beautiful symmetrical flower like pattern in the plot window NOT the set of symmetrical spikes associated with a spectrum. I have used Gnuplot for years, with no complaints. I tried other commamds as: plot 'testout' using 1:2 pt 5 ps 7 and now I get a set of symmetrical little squares in the plot window, where each square represents the peak of each spike, but I DO NOT see the spikes. So, obviously there must be some other commands that I need to use, which I do not know. May I know what these other commands are ? I am sure I have explained the problem clearly. I expect meaningful response.