Re: [GD-DEVEL] plotting data txt array

[email protected] ("Pierre Joye")
Newsgroups php.gd.devel
Message-ID <[email protected]>
Hi,

On Jan 23, 2008 1:55 AM, Patolfo <[email protected]> wrote:
> good day guys, i am making some work for college now, and well i am
> doing some kind of dft, discrete fourier transform basics, right now i
> am approximating sine waves by means of sampling, and some spicing. The
> problem is i do have the results in a txt file, yes that was the home
> work to work out some algorithm to have this txt data and view it on
> console, but i want to go a step furter, well i have the txt data why
> not plotting it, so far i tried mathgl, but well i could not do it, i
> did some google but not much found, so i come to you, there is some
> place where i can learn view, or copy the way of ploting data using gd
> and pure c code or cpp.

You can use gdChart and write the parser for your text file (or pass
the data directly instead of saving them in this text file):

http://www.fred.net/brv/chart/

Cheers,
-- 
Pierre
http://blog.thepimp.net | http://www.libgd.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.