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

Home » Public Forums » archive » How to calculate the slope of a line in a graph ?
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
How to calculate the slope of a line in a graph ? [message #84069] Thu, 25 April 2013 11:04 Go to next message
zolile mtumela is currently offline  zolile mtumela
Messages: 50
Registered: September 2011
Member
Dear all,
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.

Thank you in advance for your time

Many thanks
Zolile
Re: How to calculate the slope of a line in a graph ? [message #84141 is a reply to message #84069] Fri, 26 April 2013 08:20 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
zolilemtumela@gmail.com writes:

> Could you also help on calculating the uncertainty?
> I tried to calculate it on a program but I dnt figure it, Any suggestion will be highly appreciated. I searched the function that could help me calculating that but I ddnt get results.

Well, my suggestion is to read the on-line help for the PROB, SIGMA, and
CHISQR keywords to LINFIT. Whatever your definition of "uncertainty" is,
it is sure to be found in one or the other of those keywords. :-)

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.")
Re: How to calculate the slope of a line in a graph ? [message #84142 is a reply to message #84069] Fri, 26 April 2013 08:12 Go to previous message
zolile mtumela is currently offline  zolile mtumela
Messages: 50
Registered: September 2011
Member
On Thursday, April 25, 2013 8:04:17 PM UTC+2, zolile...@gmail.com wrote:
> Dear all,
>
> 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.
>
>
>
> Thank you in advance for your time
>
>
>
> Many thanks
>
> Zolile

Thank you so much!!
Could you also help on calculating the uncertainty?
I tried to calculate it on a program but I dnt figure it, Any suggestion will be highly appreciated. I searched the function that could help me calculating that but I ddnt get results.
Many thanks
Zolile
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: cubic root
Next Topic: Contour overlay - control orientation?

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

Current Time: Wed Oct 08 11:44:48 PDT 2025

Total time taken to generate the page: 0.00786 seconds