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

Home » Public Forums » archive » Re: How to calculate the slope of a line in a graph ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to calculate the slope of a line in a graph ? [message #84067] Thu, 25 April 2013 11:10
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
zolilemtumela@gmail.com writes:

> I got a set of data for x and y, I plotted a line graph, I did linfit too, But now i would like to know how to calculate the slope of x and y in the program.
> I've been looking for a function that can help me overcome the problem, but I dnt have a luck to get it. Please any help will be appreciated.

The slope is the 2nd element in the LinFit result.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Previous Topic: Anstrom symbol not showing up on PS output
Next Topic: Advancing !p.multi after drawing a map

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

Current Time: Wed Oct 08 15:05:48 PDT 2025

Total time taken to generate the page: 0.00429 seconds