User (Legacy) Posted August 15, 2005 Report Share Posted August 15, 2005 Hello all, Is it possible to generate a line of best fit on a scatterplot (XY Plot) on ChartFX graphs? If so, could a kind reader of this message please share such code? Many thanks. :~)Shoba. Link to comment Share on other sites More sharing options...
User (Legacy) Posted August 23, 2005 Author Report Share Posted August 23, 2005 "Shoba Thamma" <sthamma@hotmail.com> wrote in message news:ea4Gy7boFHA.1724@webserver3.softwarefx.com... > Hello all, > > Is it possible to generate a line of best fit on a scatterplot (XY Plot) on > ChartFX graphs? If so, could a kind reader of this message please share such > code? > > Many thanks. > :~)Shoba. > That's called linear regression analysis, or "least squares". You'll need to do the math yourself - the formula calculates the slope and Y-intercept of the best fit line. Using that, you'll need to manually add another series (as a Line), with one X-Y point for each X position. It's not rocket science...but, it's close. Alternatively, I think there's a plug-in for ChartFX that supports that requirement without your having to do the calculations yourself. GG Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.