Talk About Network

Google





Graphics > Gnuplot interactive function plotter > Re: Gaussian or...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 13 Topic 3335 of 3655
Post > Topic >>

Re: Gaussian or other smoothing functions.

by Tim <timtro@[EMAIL PROTECTED] > May 30, 2008 at 09:20 PM

On May 30, 4:02 pm, Lewin Boehnke <n...@[EMAIL PROTECTED]
> wrote:
> Tim wrote:
> > On May 28, 6:53 pm, goog...@[EMAIL PROTECTED]
 wrote:
> >> Tim wrote:
> >> > Hi All,
>
> >> > I've looked in the do***entation and online, and I can't seem to
find
> >> > any way to do Gaussian smoothing.
>
> >> > Normally, I'd simply write a function for it, but the problem is
that
> >> > this type of smoothing of course requires as many dimensions as
there
> >> > are data points. That is, each point of data is scaled as a
function
> >> > of the height of all other points. Since (I think) GNUPLOT reads
one
> >> > line at a time from data files, I don't know if it's possible.
>
> >> > That said, GNUPLOT is so powerful, I can't see it not being able to
do
> >> > something like this. Could somebody please point me in the right
> >> > direction?
>
> >> > Cheers,
>
> >> > Tim.
>
> >> Gnuplot is primarily a plotting tool . This is probably the sort of
> >> data processing task you could do externally , either before calling
> >> gnuplot of by using gnuplot's system() command.
>
> >> Having said that someone just posted a patch to do something like
this
> >> to gnuplot-beta mailing list. You may like to get current cvs
> >> gnuplot , add that patch and test it.
>
> >> BTW if you want to write some code you can do gaussian smoothing by
> >> applying a finite kernel filter. In practice this is just a few
values
> >> depending on the width of your gaussian filter, not the all your data
> >> points.
>
> > I don't really want to keep a lot of extra numbers around. These files
> > will be somewhat large and numerous, so it could become confusing very
> > fast.
>
> > If I write a program which outputs the smoothed data to stdout, could
> > I somehow run it within gnuplot and directly read the output? Not that
> > it's a big issue to write to a tem****ary file, but I would somehow
> > like something cleaner.
>
> As I was teached in this newsgroup just a few weeks ago, "plot '<
myscript'"
> does just that. So "plot '< smooth mydata.dat'" is probably what you
want.
>
> Lewin

Thanks, that sounds great. Exactly what I need.

Cheers,

Tim.
 




 13 Posts in Topic:
Gaussian or other smoothing functions.
Tim <timtro@[EMAIL PRO  2008-05-28 11:02:48 
Re: Gaussian or other smoothing functions.
googoff@[EMAIL PROTECTED]  2008-05-28 15:53:46 
Re: Gaussian or other smoothing functions.
Tim <timtro@[EMAIL PRO  2008-05-29 16:13:42 
Re: Gaussian or other smoothing functions.
Lewin Boehnke <news@[E  2008-05-30 22:02:50 
Re: Gaussian or other smoothing functions.
googoff@[EMAIL PROTECTED]  2008-05-30 00:38:01 
Re: Gaussian or other smoothing functions.
Tim <timtro@[EMAIL PRO  2008-05-30 21:20:06 
Re: Gaussian or other smoothing functions.
googoff@[EMAIL PROTECTED]  2008-05-31 11:49:39 
Re: Gaussian or other smoothing functions.
Tim <timtro@[EMAIL PRO  2008-05-31 12:34:24 
Re: Gaussian or other smoothing functions.
googoff@[EMAIL PROTECTED]  2008-06-01 01:25:24 
Re: Gaussian or other smoothing functions.
Lewin Boehnke <news@[E  2008-06-01 16:19:42 
Re: Gaussian or other smoothing functions.
googoff@[EMAIL PROTECTED]  2008-06-01 16:14:52 
Re: Gaussian or other smoothing functions.
subhankar.iacs@[EMAIL PRO  2008-06-04 09:53:16 
Re: Gaussian or other smoothing functions.
Tim <timtro@[EMAIL PRO  2008-06-04 12:06:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 22:35:32 PST 2009.