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

Home » Public Forums » archive » Re: Curvefit issues
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
Re: Curvefit issues [message #48194] Thu, 06 April 2006 15:27
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> I think you need to read the directions for the FUNCTION_NAME
> keyword again. For one thing, it needs to be a *function*, not
> a procedure. And it needs to accept two positional parameters,
> not three.

Oh, never mind. I can't read the directions either! :-)

Cheers,

David

P.S. Maybe it is the *directions* that are the problem!

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: Curvefit issues [message #48195 is a reply to message #48194] Thu, 06 April 2006 15:25 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jonathan Wolfe writes:

> I'm trying to fit a simple 1 parameter function to this data (see below
> A,B); however, I am getting an error message " % GFUNCT: Incorrect
> number of arguments." What's going on? It seems trivial, but I don' see
> where it is faltering. Thanks for the help!

I think you need to read the directions for the FUNCTION_NAME
keyword again. For one thing, it needs to be a *function*, not
a procedure. And it needs to accept two positional parameters,
not three.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Anything in IDL like R's Copy to Clipboard As a Metafile?
Next Topic: Re: this might be a stupid question

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

Current Time: Thu Oct 09 06:56:54 PDT 2025

Total time taken to generate the page: 0.88008 seconds