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

Home » Public Forums » archive » Slope of 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
Slope of a graph [message #66324] Fri, 01 May 2009 22:54
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
Folks
I have an elevation distance plot (elevation-distance) in 2D and I
want to calculate slope of this graph. For instance:
DL> x=findgen(100)
IDL> y=exp(-x)
I need to calculate the slope of this graph in 100 points
(corresponding to x). I tested DERIV function but seem shows incorrect
results! In our example for low x we have high slope and for high x
slopes are decreasing.
Any help highly will be appreciated.
Cheers
[Message index]
 
Read Message
Previous Topic: simple IDLgrView question
Next Topic: Spherical surface plot

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

Current Time: Sat Oct 11 04:45:14 PDT 2025

Total time taken to generate the page: 0.80083 seconds