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

Home » Public Forums » archive » RE: How to add trend line over Coyote graphics plot
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 add trend line over Coyote graphics plot [message #81062] Sat, 11 August 2012 23:13 Go to previous message
Baro is currently offline  Baro
Messages: 19
Registered: May 2012
Junior Member
Hello David

Thank You very much
The problem is I was facing at the time is that the Linear line is not going through the points as I expected, I thought it is the function problem, but later i found where the bug is. Here is my code for plotting the LINFIT

format = LABEL_DATE(DATE_FORMAT=['%M%Y'])
Trend_Coeff = LINFIT(Date,Region4)
YFIT = Trend_coeff[0] + Trend_coeff[1]*Date
Date = julday(N,0,Y)
cgoplot,Date,YFit,color='red',linestyle=2,thick=2,/addcmd

Guta
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to add trend line over Coyote graphics plot
Next Topic: Integration qpint

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

Current Time: Sat Oct 11 02:02:37 PDT 2025

Total time taken to generate the page: 0.80116 seconds