comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: recommendations for curve fitting
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: recommendations for curve fitting [message #54945] Tue, 24 July 2007 14:52
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Jul 24, 12:55 pm, Josh <joshuamonta...@gmail.com> wrote:
> i'm looking to add a trend- / fit-line to my plotted data, and not
> finding any really nice and easy way to do so. the plot is currently
> being generated with the PLOT command, and I'm not looking for
> anything much more complicated than a quadratic fit (probably even
> just linear). i tried using IPLOT and adding a curve fit there, but
> it didn't work very well and was kind of awkward.
>
> does anyone have any good recommendations for fitting a trendline to a
> scatter plot? as i said, it will probably be as simple as linear /
> quadratic in nature.
>
> thanks.

Try poly_fit() and oplot
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Oooh...! It's harder than I thought!! To get average of each line using only meaningful data
Next Topic: CW_BGROUP and scrolling

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:05:20 PDT 2025

Total time taken to generate the page: 0.00775 seconds